Exemple #1
0
        internal Task(WorkflowName workflowId, TaskName name, IEnumerable<TaskName> parents, IEnumerable<TaskName> children, Payload payload, TaskType type, TaskPriority priority)
        {
            Workflow = workflowId;
            Name = name;
            Payload = payload;
            Type = type;
            Priority = priority;

            _parents = parents.ToArray();

            _children = children.ToArray();
        }
Exemple #2
0
        internal Task(WorkflowName workflowId, TaskName name, IEnumerable <TaskName> parents, IEnumerable <TaskName> children, Payload payload, TaskType type, TaskPriority priority)
        {
            Workflow = workflowId;
            Name     = name;
            Payload  = payload;
            Type     = type;
            Priority = priority;

            _parents = parents.ToArray();

            _children = children.ToArray();
        }
 public Workflow(WorkflowName name)
 {
     Name = name;
 }
 public Workflow(WorkflowName name)
 {
     Name = name;
 }