예제 #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;
 }
예제 #5
0
 public ProcessStoppedEventArgs(SyncthingExitStatus exitStatus)
 {
     this.ExitStatus = exitStatus;
 }
예제 #6
0
 private void OnProcessStopped(SyncthingExitStatus exitStatus)
 {
     this.ProcessStopped?.Invoke(this, new ProcessStoppedEventArgs(exitStatus));
 }