コード例 #1
0
 public MarkV1WorkflowActivityAsExecuted(string id, DateTime executedAt, V1WorkflowActivityStatus status, Error?error, Neuroglia.Serialization.Dynamic?output)
 {
     this.Id         = id;
     this.ExecutedAt = executedAt;
     this.Status     = status;
     this.Error      = error;
     this.Output     = output;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new <see cref="V1WorkflowActivityExecutedDomainEvent"/>
 /// </summary>
 /// <param name="id">The id of the <see cref="V1WorkflowActivity"/> that has been executed</param>
 /// <param name="status">The <see cref="V1WorkflowActivityStatus"/> of the <see cref="V1WorkflowActivity"/> when it finished executing</param>
 /// <param name="output">The <see cref="V1WorkflowActivity"/>'s output</param>
 public V1WorkflowActivityExecutedDomainEvent(string id, V1WorkflowActivityStatus status, object?output)
     : base(id)
 {
     this.Status = status;
     this.Output = output;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new <see cref="V1WorkflowActivityExecutedDomainEvent"/>
 /// </summary>
 /// <param name="id">The id of the <see cref="V1WorkflowActivity"/> that has been executed</param>
 /// <param name="status">The <see cref="V1WorkflowActivityStatus"/> of the <see cref="V1WorkflowActivity"/> when it finished executing</param>
 public V1WorkflowActivityExecutedDomainEvent(string id, V1WorkflowActivityStatus status)
     : base(id)
 {
     this.Status = status;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new <see cref="V1WorkflowActivityExecutedDomainEvent"/>
 /// </summary>
 /// <param name="id">The id of the <see cref="V1WorkflowActivity"/> that has been executed</param>
 /// <param name="status">The <see cref="V1WorkflowActivityStatus"/> of the <see cref="V1WorkflowActivity"/> when it finished executing</param>
 /// <param name="error">The error that has occured during the <see cref="V1WorkflowActivity"/>'s execution</param>
 public V1WorkflowActivityExecutedDomainEvent(string id, V1WorkflowActivityStatus status, Neuroglia.Error?error = null)
     : base(id)
 {
     this.Status = status;
     this.Error  = error;
 }