Exemple #1
0
 public void Reset()
 {
     OnIsBusy.Reset();
     OnIsNotBusy.Reset();
     OnStatusUpdated.Reset();
     OnLocksUpdated.Reset();
     OnCurrentBranchAndRemoteUpdated.Reset();
     OnHeadUpdated.Reset();
     OnLocalBranchListUpdated.Reset();
     OnRemoteBranchListUpdated.Reset();
     OnLocalBranchUpdated.Reset();
     OnLocalBranchAdded.Reset();
     OnLocalBranchRemoved.Reset();
     OnRemoteBranchAdded.Reset();
     OnRemoteBranchRemoved.Reset();
 }
Exemple #2
0
 public void WaitForHeadUpdated(int seconds = 1)
 {
     OnHeadUpdated.WaitOne(TimeSpan.FromSeconds(seconds));
 }