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