Method AddReportWrightComponents
- Namespace
- ReportWright.Blazor.Server
- Assembly
- ReportWright.Blazor.Server.dll
AddReportWrightComponents(IServiceCollection, Action<ReportWrightOptions>?)
Adds everything AddReportWright(IServiceCollection, Action<ReportWrightOptions>?) adds, and a
ServerReportViewerBackend and a ServerReportDesignerBackend per circuit, so
the viewer and the designer work in interactive server render mode with no adapter code. Call it instead of
AddReportWright, not as well. The host still registers its own ReportStore,
DataSourceResolver and ReportPermissions, before or after
this call; a backend registered before it is kept.
public static IServiceCollection AddReportWrightComponents(this IServiceCollection services, Action<ReportWrightOptions>? configure = null)
Parameters
servicesIServiceCollectionThe services.
configureAction<ReportWrightOptions>Configures the options, or null for the defaults.
Returns
- IServiceCollection
The services.