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
resolverDataSourceResolverThe host's resolver.
providersDataSourceRegistryThe registered providers.
optionsDataSourceRouterOptionsThe limits, or null for the defaults.
fallbackReportDataProviderA 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.