Class ServiceCollectionExtensions
- Namespace
- NuvTools.Report.Pdf.Extensions
- Assembly
- NuvTools.Report.Pdf.dll
Provides extension methods for registering PDF report services in the dependency injection container.
public static class ServiceCollectionExtensions
- Inheritance
-
ServiceCollectionExtensions
- Inherited Members
Methods
AddPdfReportServices(IServiceCollection)
Registers PDF report services (IPdfExporter and IPdfMerger) as singleton services.
public static IServiceCollection AddPdfReportServices(this IServiceCollection services)
Parameters
servicesIServiceCollectionThe IServiceCollection to add the services to.
Returns
- IServiceCollection
The updated IServiceCollection instance, enabling method chaining.