Skip to content

DefaultReportFactory constructor

Default implementation of IReportFactory.

public DefaultReportFactory(IReportRegistry reportRegistry, IServiceProvider serviceProvider, 
    IHttpContextAccessor httpContextAccessor = null)
parameter description
reportRegistry The report registry.
serviceProvider The service provider.
httpContextAccessor The HTTP context accessor.

Exceptions

exception condition
ArgumentNullException reportRegistry or serviceProvider is null.

Remarks

Initializes a new instance of the DefaultReportFactory class.

See Also