Ejemplo n.º 1
0
 public DomainEventResult(
     TAggregateRootId aggregateRootId,
     AggregateRootCheckpointLifetime lifetime,
     AggregateRootCheckpointStatus status,
     string message      = null,
     Exception exception = null)
     : base(aggregateRootId.ToString(), lifetime, status, message, exception)
 {
     AggregateRootId = aggregateRootId;
 }
Ejemplo n.º 2
0
 public AggregateRootCheckpointResult(
     string aggregateRootId,
     AggregateRootCheckpointLifetime lifetime,
     AggregateRootCheckpointStatus status,
     string message      = null,
     Exception exception = null)
 {
     AggregateRootId = aggregateRootId;
     Status          = status;
     Lifetime        = lifetime;
     Message         = message;
     Exception       = exception;
 }