Пример #1
0
        /// <summary>
        /// Create single instance
        /// </summary>
        /// <param name="pWebServerConfig"></param>
        /// <returns></returns>
        public static DomainFacade getInstance(WebServerConfig pWebServerConfig, IPlugin pPlugin)
        {
            if (cInstance == null)
            cInstance = new DomainFacade(pWebServerConfig, pPlugin);

              return (cInstance);
        }
Пример #2
0
 private TaskFacade(WebServerConfig pWebServerConfig, IPlugin pPlugin)
 {
     cPlugin = pPlugin;
       cDomain = DomainFacade.getInstance(pWebServerConfig, pPlugin);
 }
Пример #3
0
 private TaskFacade(WebServerConfig pWebServerConfig, IPlugin pPlugin)
 {
     cPlugin = pPlugin;
     cDomain = DomainFacade.getInstance(pWebServerConfig, pPlugin);
 }