Here are the examples of the csharp api class Abp.Configuration.SettingManager.GetSettingValueAsync(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
5 Examples
0
1. Example
Project: aspnetboilerplate
Source File: SettingManager_Tests.cs
Source File: SettingManager_Tests.cs
[Fact] public async Task Should_Get_Default_Values_With_No_Store_And_No_Session() { var settingManager = CreateSettingManager(); (await settingManager.GetSettingValueAsync<int>(MyAppLevelSetting)).ShouldBe(42); (await settingManager.GetSettingValueAsync(MyAllLevelsSetting)).ShouldBe("application level default value"); }
0
2. Example
Project: aspnetboilerplate
Source File: SettingManager_Tests.cs
Source File: SettingManager_Tests.cs
[Fact] public async Task Should_Get_Stored_Application_Value_With_No_Session() { var settingManager = CreateSettingManager(); settingManager.SettingStore = new MemorySettingStore(); (await settingManager.GetSettingValueAsync<int>(MyAppLevelSetting)).ShouldBe(48); (await settingManager.GetSettingValueAsync(MyAllLevelsSetting)).ShouldBe("application level stored value"); }
0
3. Example
Project: aspnetboilerplate
Source File: SettingManager_Tests.cs
Source File: SettingManager_Tests.cs
[Fact] public async Task Should_Get_Correct_Values() { var session = Cre/n ..... /n //View Source file for more details /n }
0
4. Example
Project: aspnetboilerplate
Source File: SettingManager_Tests.cs
Source File: SettingManager_Tests.cs
[Fact] public async Task Should_Change_Setting_Values() { var session = /n ..... /n //View Source file for more details /n }
0
5. Example
Project: aspnetboilerplate
Source File: SettingManager_Tests.cs
Source File: SettingManager_Tests.cs
[Fact] public async Task Should_Delete_Setting_Values_On_Default_Value() { /n ..... /n //View Source file for more details /n }