Example #1
0
        private void FireActivityExecuting(object sender, Activity activity)
        {
            ActivityExecutingEventArgs args = new ActivityExecutingEventArgs(activity);

            EventHandler<WorkflowExecutionEventArgs> localWorkflowExecutionEvent = this._workflowExecutionEvent;
            if (null != localWorkflowExecutionEvent)
                localWorkflowExecutionEvent(sender, args);
        }
 private void FireActivityExecuting(object sender, Activity activity)
 {
     ActivityExecutingEventArgs e = new ActivityExecutingEventArgs(activity);
     EventHandler<WorkflowExecutionEventArgs> handler = this._workflowExecutionEvent;
     if (handler != null)
     {
         handler(sender, e);
     }
 }