Export: Add Ebics and improve Bki export

This commit is contained in:
2023-09-08 00:43:53 +02:00
parent 2de4739e9d
commit f5f00a7739
5 changed files with 180 additions and 48 deletions

View File

@ -7,18 +7,20 @@ namespace Elwig.Helpers.Export {
/// <summary>
/// The default file extension of the exported files to be used (whithout a preceding ".")
/// </summary>
static string FileExtension { get; }
static abstract string FileExtension { get; }
/// <summary>
/// Export the given data to the given file.
/// </summary>
/// <param name="data">The data to be exported</param>
void Export(IEnumerable<T> data);
/// <param name="progress">The progress object to report to</param>
void Export(IEnumerable<T> data, IProgress<double>? progress = null);
/// <summary>
/// Export the given data to the given file.
/// Asynchronosly export the given data to the given file.
/// </summary>
/// <param name="data">The data to be exported</param>
Task ExportAsync(IEnumerable<T> data);
/// <param name="progress">The progress object to report to</param>
Task ExportAsync(IEnumerable<T> data, IProgress<double>? progress = null);
}
}