Table of Contents

Class ExportFormatRegistry

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

The formats a host offers. Appendix B.3: an exporter is DocWright's; this registers it.

public sealed class ExportFormatRegistry
Inheritance
ExportFormatRegistry
Inherited Members

Constructors

ExportFormatRegistry()

Properties

Formats

Gets the formats, in registration order.

Methods

Add(ExportFormat)

Registers a format, replacing one of the same name.

CreateDefault()

Every format DocWright produces: PDF, PNG and JPEG (one page), DOCX, XLSX, CSV, TXT.

TryGet(string?, out ExportFormat?)

Looks a format up by name, ignoring case.