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(); }
public void WaitForHeadUpdated(int seconds = 1) { OnHeadUpdated.WaitOne(TimeSpan.FromSeconds(seconds)); }