예제 #1
0
 public System.Threading.Tasks.Task Initialize(Orleans.PingPong.IDestination actor, long repeats)
 {
     return(base.InvokeMethodAsync <object>(1682027821, new object[] { actor is GrainBase ? Orleans.PingPong.DestinationFactory.Cast(actor.AsReference()) : actor, repeats }, TimeSpan.Zero));
 }
예제 #2
0
 public System.Threading.Tasks.Task Pong(Orleans.PingPong.IDestination from, Orleans.PingPong.Message message)
 {
     return(base.InvokeMethodAsync <object>(-2060440583, new object[] { from is GrainBase ? Orleans.PingPong.DestinationFactory.Cast(from.AsReference()) : from, message }, TimeSpan.Zero));
 }