public ActorRef(SerializationInfo info, StreamingContext context) { var value = (string)info.GetValue("path", typeof(string)); path = ActorPath.Deserialize(value); endpoint = ActorEndpoint.Proxy(path); }
public static ActorRef Deserialize(ActorPath path) => new ActorRef(path, ActorEndpoint.Proxy(path));