Exemplo n.º 1
0
 public AsyncQueueStep(string stepName, short stepOrdinal) : this(stepName, stepOrdinal, AsyncQueueStatus.NotStarted)
 {
     AsyncQueueStep.ValidateOrdinal(stepOrdinal);
     AsyncQueueStep.ValidateName(stepName);
     this.StepName    = stepName;
     this.StepOrdinal = stepOrdinal;
 }
Exemplo n.º 2
0
 public AsyncQueueStep(string stepName, short stepOrdinal, AsyncQueueStatus stepStatus) : this()
 {
     AsyncQueueStep.ValidateOrdinal(stepOrdinal);
     AsyncQueueStep.ValidateName(stepName);
     this.StepName    = stepName;
     this.StepOrdinal = stepOrdinal;
     this.StepStatus  = stepStatus;
 }
Exemplo n.º 3
0
 public void Add(AsyncQueueStep step)
 {
     if (step == null)
     {
         throw new ArgumentNullException("step");
     }
     step.RequestId = this.RequestId;
     step.OrganizationalUnitRoot = this.OrganizationalUnitRoot;
     this.Steps.Add(step);
 }