/// <summary> /// Handles the specified <see cref="V1WorkflowProcessStartedDomainEvent"/> /// </summary> /// <param name="e">The <see cref="V1WorkflowProcessStartedDomainEvent"/> to handle</param> protected virtual void On(V1WorkflowProcessStartedDomainEvent e) { this.Id = e.AggregateId; this.CreatedAt = e.CreatedAt; this.LastModified = e.CreatedAt; }
/// <inheritdoc/> public virtual async Task HandleAsync(V1WorkflowProcessStartedDomainEvent e, CancellationToken cancellationToken = default) { await this.GetOrReconcileProjectionAsync(e.AggregateId, cancellationToken); await this.PublishIntegrationEventAsync(e, cancellationToken); }