Beispiel #1
0
        public RunContext Set(Workflow workflow, IncomingEvent @event, WorkflowFactory factory)
        {
            this.IncomingEvent = @event;
            this.Workflow      = workflow;

            if (factory != null)
            {
                this.Event = factory.CreateBaseEvent(@event);
            }

            return(this);
        }