public ProcessHostInteractionViewModel( IAppStateService appState, IDistribInteractionService distrib, IEventAggregator eventAggregator, DistribProcessHost processHost) { _processHost = processHost; }
/// <summary> /// Called to kill a given host /// </summary> /// <param name="host"></param> public void KillHost(DistribProcessHost host) { host.Uninitialise(); ProcessHosts.Remove(host); _hostTerminatedAction(host); }
internal void InteractWithHost(DistribProcessHost host) { _interactWithHostAction(host); }
/// <summary> /// Called to inform the process that a host is uninitialising /// </summary> /// <param name="host"></param> public void HostUninitialising(DistribProcessHost host) { ProcessHosts.Remove(host); _hostTerminatedAction(host); }