Table of Contents

Constructor DataSourceRouter

Namespace
ReportWright.Data
Assembly
ReportWright.Data.Abstractions.dll

DataSourceRouter(DataSourceResolver, DataSourceRegistry, DataSourceRouterOptions?, ReportDataProvider?)

Initializes a router.

public DataSourceRouter(DataSourceResolver resolver, DataSourceRegistry providers, DataSourceRouterOptions? options = null, ReportDataProvider? fallback = null)

Parameters

resolver DataSourceResolver

The host's resolver.

providers DataSourceRegistry

The registered providers.

options DataSourceRouterOptions

The limits, or null for the defaults.

fallback ReportDataProvider

A provider for datasets the resolver has nothing for — DocWright's in-memory provider, say — or null to refuse them.

Exceptions

ArgumentNullException

A required argument is null.