Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new <see cref="V1CorrelationOutcome"/>
 /// </summary>
 /// <param name="type">The <see cref="V1CorrelationOutcome"/>'s type</param>
 /// <param name="target">The identifier of the <see cref="V1CorrelationOutcome"/>'s target (a <see cref="V1Workflow"/> or a <see cref="V1WorkflowInstance"/>)</param>
 public V1CorrelationOutcome(V1CorrelationOutcomeType type, string target)
 {
     if (string.IsNullOrWhiteSpace(target))
     {
         throw DomainException.ArgumentNullOrWhitespace(nameof(target));
     }
     this.Type   = type;
     this.Target = target;
 }