Method AddUserSettings
- Namespace
- Innova.Data.AppSettings
- Assembly
- Innova.Data.dll
AddUserSettings<Tinterface, T, TSettingService>(IServiceCollection)
Adds user settings to the service collection.
public static IServiceCollection AddUserSettings<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 user settings.
TThe implementation type for the user settings.
TSettingServiceThe implementation type for the setting entity service.