示例#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();
        }
示例#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();
        }
示例#3
0
 public Workflow(WorkflowName name)
 {
     Name = name;
 }
示例#4
0
 public Workflow(WorkflowName name)
 {
     Name = name;
 }