Пример #1
0
        internal WorkflowAction FirstJoint(WorkflowItem jumptedItem)
        {
            var trigger = new TriggerWorkflowAction(_triggeringItem);

            trigger.SetJumpedItem(jumptedItem);
            return(trigger);
        }
Пример #2
0
        internal WorkflowAction FirstJoint(IWorkflowItem beforeItem)
        {
            var workflowItem = beforeItem as WorkflowItem;

            Ensure.NotNull(workflowItem, nameof(beforeItem));

            var trigger = new TriggerWorkflowAction(_triggeringItem);

            trigger.SetJumpedItem(workflowItem);
            return(trigger);
        }