示例#1
0
        public static async Task <ClientEndpoint> Create(IGrainFactory factory)
        {
            var endpoint = new ClientEndpoint(factory);

            var proxy = await factory.CreateObjectReference <IClientEndpoint>(endpoint);

            return(endpoint.Initialize(proxy));
        }
示例#2
0
        public static async Task<ClientEndpoint> Create()
        {
            var endpoint = new ClientEndpoint();

            var proxy = await ClientEndpointFactory
                .CreateObjectReference(endpoint);

            return endpoint.Initialize(proxy);
        }
示例#3
0
        public static async Task <ClientEndpoint> Create()
        {
            var endpoint = new ClientEndpoint();

            var proxy = await ClientEndpointFactory
                        .CreateObjectReference(endpoint);

            return(endpoint.Initialize(proxy));
        }
示例#4
0
 public DisposableSubscription(ClientEndpoint owner)
 {
     this.owner = owner;
 }
示例#5
0
 public DisposableSubscription(ClientEndpoint owner)
 {
     this.owner = owner;
 }