Example #1
0
 public ProcessApplicationHost(string binFolder, PortManager portManager)
 {
     this._portManager = portManager;
     this._port        = portManager.ClaimNext();
     this._binFolder   = binFolder;
     this.LaunchHost();
 }
		public ProcessApplicationHost(string binFolder, PortManager portManager) {
			this._portManager = portManager;
			this._port = portManager.ClaimNext();
			this._binFolder = binFolder;
			this.LaunchHost();
		}
 static ProcessHostingModel()
 {
     KillOrphanedHostProcesses();
     SetupRemoting(portManager.ClaimNext());
 }