Esempio n. 1
0
 public override Task CheckForExpirationAsync(InstanceContext instanceContext, CheckForExpiration command, CancellationToken cancellationToken) =>
 throw new Exception("Cannot check for expiration against a vacant instance");
Esempio n. 2
0
 public Task CheckForExpirationAsync(CheckForExpiration command, CancellationToken cancellationToken) =>
 _currentState.CheckForExpirationAsync(this, command, cancellationToken);
Esempio n. 3
0
 public override Task CheckForExpirationAsync(InstanceContext instanceContext, CheckForExpiration command, CancellationToken cancellationToken) =>
 instanceContext.Mediator.ExecuteAsync(command, cancellationToken);
 public abstract Task CheckForExpirationAsync(InstanceContext instanceContext, CheckForExpiration command, CancellationToken cancellationToken);