Пример #1
0
        private void RegisterToWorkItemCompletion(IWorkItemResult wir)
        {
            IInternalWorkItemResult internalWorkItemResult = (IInternalWorkItemResult)wir;

            internalWorkItemResult.OnWorkItemStarted   += new WorkItemStateCallback(this.OnWorkItemStartedCallback);
            internalWorkItemResult.OnWorkItemCompleted += new WorkItemStateCallback(this.OnWorkItemCompletedCallback);
        }
Пример #2
0
        private void RegisterToWorkItemCompletion(IWorkItemResult wir)
        {
            IInternalWorkItemResult iwir = (IInternalWorkItemResult)wir;

            iwir.OnWorkItemStarted   += OnWorkItemStartedCallback;
            iwir.OnWorkItemCompleted += OnWorkItemCompletedCallback;
        }
Пример #3
0
        private void RegisterToWorkItemCompletion(IWorkItemResult wir)
        {
            IInternalWorkItemResult iwir = wir as IInternalWorkItemResult;

            iwir.OnWorkItemStarted   += new WorkItemStateCallback(OnWorkItemStartedCallback);
            iwir.OnWorkItemCompleted += new WorkItemStateCallback(OnWorkItemCompletedCallback);
        }