Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public static ActorRef Deserialize(ActorPath path) => new ActorRef(path, ActorInterface.Registered(path.Type));