public ActorRef(SerializationInfo info, StreamingContext context) { path = ActorPath.From((string)info.GetValue("path", typeof(string))); invoker = ActorEndpoint.Invoker(path); endpoint = invoker.GetProxy(path.ToString()); }
internal ActorRef(ActorPath path, ActorEndpointInvoker invoker) : this(path) { this.invoker = invoker; endpoint = invoker.GetProxy(path.ToString()); }
public void GetObjectData(SerializationInfo info, StreamingContext context) { info.AddValue("path", path.ToString(), typeof(string)); }