static SettingContext Create() { // SettingContext SettingContext settingContext = new ConfigSettingContext(); // Return return(settingContext); }
// Methods private void Initialize(System.Configuration.Configuration configuration) { #region Contracts if (configuration == null) throw new ArgumentNullException(); #endregion // ReflectRepository IReflectRepository reflectRepository = new ConfigReflectRepository(configuration); // SettingContext SettingContext settingContext = new ConfigSettingContext(configuration); // Initialize base.Initialize(reflectRepository, settingContext); }
public SettingService(ConfigSettingContext configSettingContext) { _configSettingContext = configSettingContext; }