Exemplo n.º 1
0
 internal static object GetSetting(GlobalSettingsPropertyDefinition propDef)
 {
     return(GlobalSettings.settings.GetOrAdd(propDef, (GlobalSettingsPropertyDefinition propDef2) => GlobalSettings.LoadSetting(propDef2)));
 }
Exemplo n.º 2
0
 internal static T GetSetting <T>(GlobalSettingsPropertyDefinition propDef)
 {
     return((T)((object)GlobalSettings.settings.GetOrAdd(propDef, (GlobalSettingsPropertyDefinition propDef2) => GlobalSettings.LoadSetting <T>(propDef2))));
 }