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