Class UserSettingService<T>
- Namespace
- Innova.Data.AppSettings.Services
- Assembly
- Innova.Data.dll
Represents a service for managing user settings.
public class UserSettingService<T> : IUserSettingService<T>, IUserSettingService where T : class, new()
Type Parameters
T
The type of the user settings.
- Inheritance
-
UserSettingService<T>
- Implements
Constructors
- UserSettingService(ISettingEntityService)
Initializes a new instance of the UserSettingService<T> class.
Methods
- Get()
Gets the user settings.
- GetValue<ValueType>(string)
Gets the value of a specific setting.
- LoadData()
Loads the user settings data.
- Save()
Saves the user settings.
- SetValue(string, object)
Sets the value of a specific setting.