예제 #1
0
 public Task <Human> OnHumanCreatedAsync(
     IHumanDataLoader humanDataLoader,
     [EventMessage] Guid id,
     CancellationToken cancellationToken) =>
 humanDataLoader.LoadAsync(id, cancellationToken);
예제 #2
0
 public Task <IReadOnlyList <Human> > GetHumansByIdsAsync(
     IHumanDataLoader humanDataLoader,
     List <Guid> ids,
     CancellationToken cancellationToken) =>
 humanDataLoader.LoadAsync(ids, cancellationToken);
예제 #3
0
 public Task <Human> GetHumanAsync(IHumanDataLoader humanDataLoader, Guid id, CancellationToken cancellationToken) =>
 humanDataLoader.LoadAsync(id, cancellationToken);