示例#1
0
        /// <inheritdoc />
        public ClientRef ClientOf(string path)
        {
            Requires.NotNullOrWhitespace(path, nameof(path));

            var endpoint = ClientEndpoint.Proxy(path, grainFactory);

            return(new ClientRef(endpoint));
        }
示例#2
0
 public static ClientRef Deserialize(string path) => new ClientRef(path, ClientEndpoint.Proxy(path));
示例#3
0
 public ClientRef(SerializationInfo info, StreamingContext context)
 {
     Path     = (string)info.GetValue("path", typeof(string));
     endpoint = ClientEndpoint.Proxy(Path);
 }
示例#4
0
 public new static ClientRef Deserialize(string path)
 {
     return(new ClientRef(path, ClientEndpoint.Proxy(path)));
 }