public static async Task <ClientEndpoint> Create(IGrainFactory factory) { var endpoint = new ClientEndpoint(factory); var proxy = await factory.CreateObjectReference <IClientEndpoint>(endpoint); return(endpoint.Initialize(proxy)); }
public static async Task<ClientEndpoint> Create() { var endpoint = new ClientEndpoint(); var proxy = await ClientEndpointFactory .CreateObjectReference(endpoint); return endpoint.Initialize(proxy); }
public static async Task <ClientEndpoint> Create() { var endpoint = new ClientEndpoint(); var proxy = await ClientEndpointFactory .CreateObjectReference(endpoint); return(endpoint.Initialize(proxy)); }
public DisposableSubscription(ClientEndpoint owner) { this.owner = owner; }