コード例 #1
0
ファイル: Human.cs プロジェクト: yuriypts/hotchocolate
 public Task <IReadOnlyList <Human> > GetOtherHuman(
     [DataLoader] HumanDataLoader humanDataLoader,
     CancellationToken cancellationToken)
 {
     return(humanDataLoader.LoadAsync(
                new[] { "1001", "1002", "9999" },
                cancellationToken));
 }
コード例 #2
0
 public Task <IReadOnlyList <Human> > GetOtherHuman(
     [DataLoader] HumanDataLoader humanDataLoader)
 {
     return(humanDataLoader.LoadAsync(new[] { "1001", "1002", "9999" }));
 }