public DatabaseUpdateProvider(string componentFullName = "PigeonCms.Core") { if (string.IsNullOrEmpty(componentFullName)) throw new ArgumentException("Missing componentFullName", "componentFullName"); this.componentFullName = componentFullName; dbVersionMan = new DbVersionsManager(this.ComponentFullName); fakeModule = new PigeonCms.Module(); fakeModule.UseLog = Utility.TristateBool.True; fakeModule.ModuleNamespace = "PigeonCms.Core"; fakeModule.ModuleName = "DatabaseUpdateProvider"; }
public AppSettingsProvider(string keySet) { if (string.IsNullOrEmpty(keySet)) throw new ArgumentException("Missing KeySet", "keySet"); this.keySet = keySet; appSettingsMan = new AppSettingsManager2(); appCache = new ApplicationManager<string>(APPCACHE_PREFIX + this.KeySet); fakeModule = new PigeonCms.Module(); fakeModule.UseLog = Utility.TristateBool.True; fakeModule.ModuleNamespace = "PigeonCms.Core"; fakeModule.ModuleName = "AppSettingsProvider"; }