Exemplo n.º 1
0
 /// <summary>
 /// Gets the Aggregate Root id.
 /// </summary>
 /// <param name="runtime">The Runtime microservice address.</param>
 /// <param name="idOrAlias">The AggregateRootId Id or Alias.</param>
 /// <returns>A <see cref="Task{TResult}"/> that, when resolved, returns the <see cref="ArtifactId"/>.</returns>
 protected Task <ArtifactId> GetAggregateRootId(MicroserviceAddress runtime, AggregateRootIdOrAlias idOrAlias)
 => _aggregateRootIdResolver.ResolveId(runtime, idOrAlias);