Esempio n. 1
0
        public WebApp(IConfigSource config, string configName, IHttpServer server)
        {
            ReadConfigs(config, configName);

            // Create the two parts
            Services = new Services(config, configName, this);
            WifiScriptFace = new WifiScriptFace(this);

            m_ExtensionMethods = typeof(ExtensionMethods);
            m_Statistics = new StatisticsDict();

            WebAppInstance = this;
            WifiScriptFaceInstance = WifiScriptFace;

            m_log.DebugFormat("[Wifi]: Starting with extension methods type {0}", m_ExtensionMethods);
        }
Esempio n. 2
0
        public WebApp(IConfigSource config, string configName, IHttpServer server)
        {
            m_log.Debug("[WebApp]: Starting...");

            ReadConfigs(config, configName);

            // Create the two parts
            Services = new Services(config, configName, this);
            WifiScriptFace = new WifiScriptFace(this);
        }