private void RegisterToWorkItemCompletion(IWorkItemResult wir) { IInternalWorkItemResult internalWorkItemResult = (IInternalWorkItemResult)wir; internalWorkItemResult.OnWorkItemStarted += new WorkItemStateCallback(this.OnWorkItemStartedCallback); internalWorkItemResult.OnWorkItemCompleted += new WorkItemStateCallback(this.OnWorkItemCompletedCallback); }
private void RegisterToWorkItemCompletion(IWorkItemResult wir) { IInternalWorkItemResult iwir = (IInternalWorkItemResult)wir; iwir.OnWorkItemStarted += OnWorkItemStartedCallback; iwir.OnWorkItemCompleted += OnWorkItemCompletedCallback; }
private void RegisterToWorkItemCompletion(IWorkItemResult wir) { IInternalWorkItemResult iwir = wir as IInternalWorkItemResult; iwir.OnWorkItemStarted += new WorkItemStateCallback(OnWorkItemStartedCallback); iwir.OnWorkItemCompleted += new WorkItemStateCallback(OnWorkItemCompletedCallback); }