public HumanTaskDefBuilder AddCompletionDeadLine(string name, Action <DeadLineBuilder> callback) { var deadLineBuilder = new DeadLineBuilder(name, DeadlineUsages.COMPLETION); callback(deadLineBuilder); _humanTaskDef.DeadLines.Add(deadLineBuilder.Build()); return(this); }
public HumanTaskDefBuilder AddStartDeadLine(string name, Action <DeadLineBuilder> callback) { var deadLineBuilder = new DeadLineBuilder(name, DeadlineUsages.START); callback(deadLineBuilder); _humanTaskDef.DeadLines.Add(deadLineBuilder.Build()); return(this); }