/// <summary> /// Create single instance /// </summary> /// <returns></returns> public static TaskFacade getInstance(ProxyConfig pConfig, IPlugin pPlugin) { if (cInstance == null) cInstance = new TaskFacade(pConfig, pPlugin); return (cInstance); }
/// <summary> /// /// </summary> private DomainFacade(ProxyConfig pConfig, IPlugin pPlugin) { cPlugin = pPlugin; cObserverList = new List<IObserver>(); cInfrastructure = InfrastructureFacade.getInstance(pConfig, pPlugin); cRecordList = new List<POP3Account>(); }
/// <summary> /// /// </summary> private TaskFacade(ProxyConfig pConfig, IPlugin pPlugin) { cPlugin = pPlugin; cDomain = DomainFacade.getInstance(pConfig, pPlugin); }
/// <summary> /// /// </summary> /// <param name="pProxyConfig"></param> public void onStart(ProxyConfig pProxyConfig) { cDomain.onStart(pProxyConfig); }
/// <summary> /// /// </summary> public void onStart(ProxyConfig pProxyConfig) { cInfrastructure.onStart(pProxyConfig); }