Esempio n. 1
0
        protected override IManagedApp CreateAppInstance(IServerConfig serverConfig)
        {
            var appFile = serverConfig.Options.Get("appFile");

            if(string.IsNullOrEmpty(appFile))
                return base.CreateAppInstance(serverConfig);

            var serverMetadata = new ExternalProcessAppServerMetadata(serverConfig.Options.Get("appDir"), appFile, serverConfig.Options.Get("appArgs"));
            return new ExternalProcessApp(serverMetadata, ConfigFilePath);
        }
Esempio n. 2
0
        protected override IManagedApp CreateAppInstance(IServerConfig serverConfig)
        {
            var appFile = serverConfig.Options.Get("appFile");

            if (string.IsNullOrEmpty(appFile))
            {
                return(base.CreateAppInstance(serverConfig));
            }

            var serverMetadata = new ExternalProcessAppServerMetadata(serverConfig.Options.Get("appDir"), appFile, serverConfig.Options.Get("appArgs"));

            return(new ExternalProcessApp(serverMetadata, ConfigFilePath));
        }
Esempio n. 3
0
        public ExternalProcessApp(ExternalProcessAppServerMetadata metadata, string startupConfigFile)
            : base(metadata, startupConfigFile)
        {

        }
Esempio n. 4
0
 public ExternalProcessApp(ExternalProcessAppServerMetadata metadata, string startupConfigFile)
     : base(metadata, startupConfigFile)
 {
 }