IDataExporter interface

Represents a type used to perform exporting of the data stream to some format (like CSV or PDF)

public interface EasyData.Export.IDataExporter

Package: EasyData.Core (targets: netstandard2.0)

Assembly: EasyData.Core.dll

Methods

Name Type Description
Export(IEasyDataResultSet data, Stream stream) void Exports the specified data to the stream.
Export(IEasyDataResultSet data, Stream stream, IDataExportSettings settings) void Exports the specified data to the stream.
ExportAsync(IEasyDataResultSet data, Stream stream) Task Asynchronical version of EasyData.Export.IDataExporter.Export(EasyData.IEasyDataResultSet,System.IO.Stream) method.
ExportAsync(IEasyDataResultSet data, Stream stream, IDataExportSettings settings) Task Asynchronical version of EasyData.Export.IDataExporter.Export(EasyData.IEasyDataResultSet,System.IO.Stream) method.
GetContentType() string Gets the MIME content type of the exporting format.
GetDefaultSettings(CultureInfo culture = null) IDataExportSettings Default settings of the exporter.