private void NewSynchMilestoneReachedCompleted(IAsyncResult ar) { if (NewSynchMilestoneReached == null) { return; } NewSynchMilestoneReached.EndInvoke(ar); }
// NewSynchMilestoneReached public void OnNewSynchMilestoneReached(string description) { if (NewSynchMilestoneReached == null) { return; } this.MilestoneDescription = description; NewSynchMilestoneReached.BeginInvoke(this, new EventArgs(), new AsyncCallback(NewSynchMilestoneReachedCompleted), null); }