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
services
IServiceCollectionThe service collection.
Returns
- IServiceCollection
The updated service collection.
Type Parameters
Tinterface
The interface type for the application settings.
T
The implementation type for the application settings.
TSettingService
The implementation type for the setting entity service.