public ActorProxy CreateActorProxy(ActorServicePartitionClient actorServicePartitionClient) { var actorProxy = (ActorProxy)this.proxyActivator.CreateInstance(); actorProxy.Initialize(this, actorServicePartitionClient); return(actorProxy); }
public ActorProxy CreateActorProxy (ActorServicePartitionClient remotingPartitionClient, IServiceRemotingMessageBodyFactory remotingMessageBodyFactory) { var serviceProxy = (ActorProxy)this.proxyActivator.CreateInstance(); serviceProxy.Initialize(remotingPartitionClient, remotingMessageBodyFactory); return(serviceProxy); }