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(); }
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; }