示例#1
0
 public static T GetCachedObject <T>(this IConfigSettingElement settingElement, string objectSettingName, Action <T> initializer)
 {
     return(settingElement.GetCachedObject(objectSettingName, true, initializer));
 }
示例#2
0
 public static T GetCachedObject <T>(this IConfigSettingElement settingElement, string objectSettingName, bool autoInit)
 {
     return(settingElement.GetCachedObject <T>(objectSettingName, autoInit, null));
 }