Method AddAppSettings
- Namespace
- Innova.Data.AppSettings
- Assembly
- Innova.Data.dll
AddAppSettings<Tinterface, T, TSettingService>(IServiceCollection)
Adds application settings to the service collection.
public static IServiceCollection AddAppSettings<Tinterface, T, TSettingService>(this IServiceCollection services) where Tinterface : class where T : class, Tinterface, new() where TSettingService : class, ISettingEntityService
Parameters
servicesIServiceCollectionThe service collection.
Returns
- IServiceCollection
The updated service collection.
Type Parameters
TinterfaceThe interface type for the application settings.
TThe implementation type for the application settings.
TSettingServiceThe implementation type for the setting entity service.