示例#1
0
 private void ProcessStopped(SyncthingExitStatus exitStatus)
 {
     this.SetState(SyncthingState.Stopped);
     if (exitStatus == SyncthingExitStatus.Error)
     {
         this.OnProcessExitedWithError();
     }
 }
示例#2
0
 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;
 }
 public ProcessStoppedEventArgs(SyncthingExitStatus exitStatus)
 {
     this.ExitStatus = exitStatus;
 }
 private void OnProcessStopped(SyncthingExitStatus exitStatus)
 {
     this.ProcessStopped?.Invoke(this, new ProcessStoppedEventArgs(exitStatus));
 }