Skip to content

HtmlDataExporter class

An implementation of EasyData.Export.IDataExporter interface, that performs exporting of the data stream to HTML format

public class EasyData.Export.HtmlDataExporter
: IDataExporter

Package: EasyData.Exporters.Default (targets: netstandard2.0)

Assembly: EasyData.Exporters.Default.dll

NameTypeDescription
HtmlDataExporter()void
NameTypeDescription
DefaultSettingsIDataExportSettingsThe default settings.
NameTypeDescription
Export(IEasyDataResultSet data, Stream stream)voidExports the specified data to the stream.
Export(IEasyDataResultSet data, Stream stream, IDataExportSettings settings)voidExports the specified data to the stream.
ExportAsync(IEasyDataResultSet data, Stream stream)TaskAsynchronical version of EasyData.Export.HtmlDataExporter.Export(EasyData.IEasyDataResultSet,System.IO.Stream) method.
ExportAsync(IEasyDataResultSet data, Stream stream, IDataExportSettings settings)TaskAsynchronical version of EasyData.Export.HtmlDataExporter.Export(EasyData.IEasyDataResultSet,System.IO.Stream) method.
GetContentType()stringGets the MIME content type of the exporting format.
GetDefaultSettings(CultureInfo culture = null)IDataExportSettingsGets default settings
GetFormattedValue(object val, DataType dataType, HtmlDataExportSettings settings, string displayFormat)stringConverts string into HTML format.