Exemplo n.º 1
0
 private static I ForActor<I>(string instanceName, Actor caller)
     where I : class, IActor
 {
     Debug.Assert(typeof(I).IsInterface);
     return ActorProxy.Create<I>(new ActorId(instanceName), Addressing.ActorAddress<I>(caller));
 }