コード例 #1
0
 public ITask CreateTaskInstance(IDynamicTask template, string name, TaskConfiguration taskConfiguration)
 {
     return(new DynamicTaskInstance(template, name, taskConfiguration));
 }
コード例 #2
0
 public DynamicTaskInstance(IDynamicTask parentTask, string instanceName, TaskConfiguration configuration)
 {
     ParentTask    = parentTask ?? throw new ArgumentNullException(nameof(parentTask));
     Name          = instanceName ?? throw new ArgumentNullException(nameof(instanceName));
     Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
 }