Пример #1
0
 public DataProvider(DataProviderConfigurationSection config)
 {
 }
Пример #2
0
 private static IDataProvider Create(DataProviderConfigurationSection config)
 {
     return(TypeInitializer.GetType <IDataProvider>(config.DataProvider, "DataProvider", config));
 }
Пример #3
0
 public static IDataProvider Get()
 {
     return(Get(DataProviderConfigurationSection.GetSection()));
 }
Пример #4
0
 public static IDataProvider Get(DataProviderConfigurationSection config)
 {
     return(_dataProvider ?? (_dataProvider = Create(config)));
 }
 public static DataProviderConfigurationSection GetSection()
 {
     return(_instance ?? (_instance = (DataProviderConfigurationSection)ConfigurationHelper.GetSection(SectionName)));
 }