Пример #1
0
 private async Task CallIStatelessWorkerGrainMethod(IGrain grain)
 {
     var g = grain.Cast <IStatelessWorkerGrain>();
     await g.GetCallStats();
 }
Пример #2
0
 private async Task CallITestGrainMethod(IGrain grain)
 {
     var g = grain.Cast <ITestGrain>();
     await g.SetLabel("Hello world");
 }