Пример #1
0
 WorkflowAction IWorkflow.OnWorkflowStarted(WorkflowStartedEvent workflowStartedEvent)
 {
     Raise(workflowStartedEvent);
     return(Handle(EventName.WorkflowStarted, workflowStartedEvent));
 }
Пример #2
0
        private void Raise(WorkflowStartedEvent @event)
        {
            var eventHandler = Started;

            eventHandler?.Invoke(this, new WorkflowStartedEventArgs(@event));
        }
 public WorkflowStartedEventArgs(WorkflowStartedEvent startEvent)
 {
     StartEvent = startEvent;
 }