Esempio n. 1
0
 private static async Task NormalForLoop(IArrayGrain <MyData> array, long count)
 {
     for (int i = 0; i < count; i++)
     {
         Console.WriteLine($"array[{i}] = \"{(await array.GetAsync(i)).Value}\"");
     }
 }
 public static ArrayGrainProxy <T> ToProxy <T>(this IArrayGrain <T> arrayGrain)
 {
     return(new ArrayGrainProxy <T>(arrayGrain));
 }