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