private void ProcessStopped(SyncthingExitStatus exitStatus) { this.SetState(SyncthingState.Stopped); if (exitStatus == SyncthingExitStatus.Error) { this.OnProcessExitedWithError(); } }
private void ProcessStopped(SyncthingExitStatus exitStatus) { this.SetState(SyncthingState.Stopped); if (exitStatus == SyncthingExitStatus.Error) this.OnProcessExitedWithError(); }
private void OnProcessStopped(SyncthingExitStatus exitStatus) { this.ProcessStopped?.Invoke(this, new ProcessStoppedEventArgs(exitStatus)); }
public ProcessStoppedEventArgs(SyncthingExitStatus exitStatus) { this.ExitStatus = exitStatus; }