Ejemplo n.º 1
0
 public static T GetObject <T>(this IConfigSettingElement settingElement, string objectSettingName)
 {
     return(settingElement.GetObject <T>(objectSettingName, null));
 }
Ejemplo n.º 2
0
 public static T GetCachedObject <T>(this IConfigSettingElement settingElement, string objectSettingName, bool autoInit, Action <T> initializer)
 {
     return(settingElement.GetObjectContext(objectSettingName, () => settingElement.GetObject(objectSettingName, autoInit, initializer)));
 }
Ejemplo n.º 3
0
 public static object GetCachedObject(this IConfigSettingElement settingElement, string objectSettingName, bool autoInit)
 {
     return(settingElement.GetObjectContext(objectSettingName, () => settingElement.GetObject(objectSettingName, autoInit)));
 }
Ejemplo n.º 4
0
 public static T GetObject <T>(this IConfigSettingElement settingElement, string objectSettingName, Action <T> initializer)
 {
     return(settingElement.GetObject(objectSettingName, true, initializer));
 }