void InitStore() { using(MethodTracer tracer = new MethodTracer(m_logger)) { m_store = new ConfigStore(m_settings.StoreConnectString, m_settings.QueryTimeout); this.LoadDomains(); } }
public Service() { InitializeContainer(); ILogger logger = Log.For(this); m_settings = new ServiceSettings(); logger.Info("Starting Service"); m_store = new ConfigStore(m_settings.StoreConnectString, m_settings.QueryTimeout); logger.Info("Service Started Successfully"); }
public RecordRetrievalService() { try { m_store = Service.Current.Store; m_logger = Log.For(this); } catch (Exception ex) { WriteToEventLog(ex); throw; } }
public ConfigServiceBase() { try { m_store = Service.Current.Store; m_logger = Log.For(this); } catch (Exception ex) { WriteToEventLog(ex); throw; } }
/// <summary> /// Load applicatioin settings. /// </summary> protected CleanupSettings Load(JobExecutionContext context) { try { var settings = new CleanupSettings(context); m_store = new ConfigStore(settings.ConnectionString, settings.QueryTimeout); m_logger = Log.For(this); return settings; } catch (Exception e) { WriteToEventLog(e); var je = new JobExecutionException(e); je.UnscheduleAllTriggers = true; throw je; } }
internal DnsRecordManager(ConfigStore store) { m_store = store; }
internal AnchorManager(ConfigStore store) { m_store = store; }
internal CertPolicyGroupManager(ConfigStore store) { m_store = store; }
internal MXManager(ConfigStore store) { m_store = store; }
internal BundleManager(ConfigStore store) { m_store = store; }
internal NamedBlobManager(ConfigStore store) { m_store = store; }
public AdminCommands() { ConfigStore store = new ConfigStore(ConfigurationManager.ConnectionStrings["configStore"].ConnectionString); m_manager = store.Administrators; }
internal CertificateManager(ConfigStore store) { m_store = store; }
internal DomainManager(ConfigStore store) { m_store = store; }
internal PropertyManager(ConfigStore store) { m_store = store; }
public BlobFacts() { m_store = CreateConfigStore(); }
internal AdministratorManager(ConfigStore store) { m_store = store; }
public DomainController() { _configStore = Service.Current.Store; _logger = Log.For(this); }