Esempio n. 1
0
        private static void FireWorkflowStateChangedEvent()
        {
            var projectId = new MockAppStateRestClient().GetAppState().ProjectId;
            var args      = new WorkflowStateChangedEventArgs {
                ProjectId = projectId, WorkflowState = WorkflowState
            };
            EventHandler <WorkflowStateChangedEventArgs> handler = WorkflowStateChanged;

            if (handler != null)
            {
                handler(null, args);
            }
        }
 private static void FireWorkflowStateChangedEvent()
 {
     var projectId = new MockAppStateRestClient().GetAppState().ProjectId;
     var args = new WorkflowStateChangedEventArgs { ProjectId = projectId, WorkflowState = WorkflowState };
     EventHandler<WorkflowStateChangedEventArgs> handler = WorkflowStateChanged;
     if (handler != null)
     {
         handler(null, args);
     }
 }