ISettingService Interface
Assembly: PTS.Modules.IdentitySettingExtension.dll
Syntax
public interface ISettingService
Methods
Get(Identity, Enum)
Declaration
Setting Get(Identity entity, Enum key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.Enum |
key |
|
Returns
Get(Identity, String)
Declaration
Setting Get(Identity entity, string key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.String |
key |
|
Returns
GetAsync(Identity, Enum)
Declaration
Task<Setting> GetAsync(Identity entity, Enum key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.Enum |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Setting> |
|
GetAsync(Identity, String)
Declaration
Task<Setting> GetAsync(Identity entity, string key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.String |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Setting> |
|
GetValue(Identity, Enum)
Declaration
string GetValue(Identity entity, Enum key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.Enum |
key |
|
Returns
Type |
Description |
System.String |
|
GetValue(Identity, String)
Declaration
string GetValue(Identity entity, string key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
GetValueAsync(Identity, Enum)
Declaration
Task<string> GetValueAsync(Identity entity, Enum key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.Enum |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
GetValueAsync(Identity, String)
Declaration
Task<string> GetValueAsync(Identity entity, string key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.String |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
SetValue(Identity, Enum, String, SettingType)
Declaration
Setting SetValue(Identity entity, Enum key, string value, SettingType type)
Parameters
Returns
SetValue(Identity, String, String, SettingType)
Declaration
Setting SetValue(Identity entity, string key, string value, SettingType type)
Parameters
Returns
SetValueAsync(Identity, Enum, String, SettingType)
Declaration
Task<Setting> SetValueAsync(Identity entity, Enum key, string value, SettingType type)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Setting> |
|
SetValueAsync(Identity, String, String, SettingType)
Declaration
Task<Setting> SetValueAsync(Identity entity, string key, string value, SettingType type)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Setting> |
|
UnsetValue(Identity, Enum)
Declaration
void UnsetValue(Identity entity, Enum key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.Enum |
key |
|
UnsetValue(Identity, String)
Declaration
void UnsetValue(Identity entity, string key)
Parameters
Type |
Name |
Description |
Identity |
entity |
|
System.String |
key |
|
Extension Methods