Table of Contents

Class ReportWrightOptions

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

What a host configures once: the providers, the limits, the fonts, the exports, the session cache.

public sealed class ReportWrightOptions
Inheritance
ReportWrightOptions
Inherited Members

Constructors

ReportWrightOptions()

Initializes the options with the defaults.

Properties

Clock

Gets or sets the clock a run reads for Globals!ExecutionTime. The host's local time by default; a test pins it.

DefaultCulture

Gets or sets the culture a run uses when the request names none; null for the report's own language.

Exports

Gets the export formats offered, all DocWright's by default.

FallbackDataProvider

Gets or sets the provider for datasets the resolver has nothing for, or null to refuse them.

Fonts

Gets or sets the font engine; null for the engine's bundled metric-compatible faces and nothing from the machine, which a browser reproduces exactly.

Limits

Gets or sets the engine's resource limits, or null for its defaults.

MaxPreviewRows

Gets or sets the most rows a design-time preview returns.

MaxSessions

Gets or sets the most sessions kept; the oldest idle one goes when a new one arrives.

Providers

Gets the data source providers, by kind.

Router

Gets the row cap and timeouts every dataset runs under.

SessionLifetime

Gets or sets how long an idle viewer session is kept.