public AVRFacade(IContainer container) { m_Container = container; m_ConfigurationStrategy = m_Container.GetInstance <ISchedulerConfigurationStrategy>(); m_TraceTitle = String.Format("[{0}] WCF Service Call", m_ConfigurationStrategy.GetServiceDisplayName()); }
public SchedulerRunner(IContainer container) { Utils.CheckNotNull(container, "container"); m_Container = container; m_ConfigurationStrategy = container.GetInstance <ISchedulerConfigurationStrategy>(); m_TraceTitle = string.Format("[{0}] Refresh AVR Queries", m_ConfigurationStrategy.GetServiceDisplayName()); m_AutoEvent = new AutoResetEvent(false); m_Watch = new Stopwatch(); m_QueryRefreshTimer = new Timer(QueryRefreshTimerTick, null, Timeout.Infinite, Timeout.Infinite); m_LookupCasheRefreshTimer = new Timer(LookupCasheRefreshTimerTick, null, Timeout.Infinite, Timeout.Infinite); }