HtmlDataExporter class
An implementation of EasyData.Export.IDataExporter interface, that performs exporting of the data stream to HTML format
public class EasyData.Export.HtmlDataExporter : IDataExporterPackage: EasyData.Exporters.Default (targets: netstandard2.0)
Assembly: EasyData.Exporters.Default.dll
Constructors
| Name | Type | Description |
|---|---|---|
| HtmlDataExporter() | void |
Properties
| Name | Type | Description |
|---|---|---|
| DefaultSettings | IDataExportSettings | The default settings. |
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.HtmlDataExporter.Export(EasyData.IEasyDataResultSet,System.IO.Stream) method. |
ExportAsync(IEasyDataResultSet data, Stream stream, IDataExportSettings settings) | Task | Asynchronical version of EasyData.Export.HtmlDataExporter.Export(EasyData.IEasyDataResultSet,System.IO.Stream) method. |
| GetContentType() | string | Gets the MIME content type of the exporting format. |
GetDefaultSettings(CultureInfo culture = null) | IDataExportSettings | Gets default settings |
GetFormattedValue(object val, DataType dataType, HtmlDataExportSettings settings, string displayFormat) | string | Converts string into HTML format. |