Esempio n. 1
0
 private async Task CallIStatelessWorkerGrainMethod(IGrain grain)
 {
     var g = grain.Cast <IStatelessWorkerGrain>();
     await g.GetCallStats();
 }
Esempio n. 2
0
 private async Task CallITestGrainMethod(IGrain grain)
 {
     var g = grain.Cast <ITestGrain>();
     await g.SetLabel("Hello world");
 }