public virtual T User(string userId) { return(TypedClientBuilder <T> .Build(new UserProxy <THub>(_lifetimeManager, userId))); }
public T GroupExcept(string groupName, IReadOnlyList <string> excludedConnectionIds) { return(TypedClientBuilder <T> .Build(new GroupExceptProxy <THub>(_lifetimeManager, groupName, excludedConnectionIds))); }
public T Groups(IReadOnlyList <string> groupNames) { return(TypedClientBuilder <T> .Build(new MultipleGroupProxy <THub>(_lifetimeManager, groupNames))); }
public T Clients(IReadOnlyList <string> connectionIds) { return(TypedClientBuilder <T> .Build(new MultipleClientProxy <THub>(_lifetimeManager, connectionIds))); }
public virtual T Group(string groupName) { return(TypedClientBuilder <T> .Build(new GroupProxy <THub>(_lifetimeManager, groupName))); }
public T Client(string connectionId) => TypedClientBuilder <T> .Build(_hubClients.Client(connectionId));
public virtual T Client(string connectionId) { return(TypedClientBuilder <T> .Build(new SingleClientProxy <THub>(_lifetimeManager, connectionId))); }
public T User(string userId) { return(TypedClientBuilder <T> .Build(_hubClients.User(userId))); }
public T Users(IReadOnlyList <string> userIds) { return(TypedClientBuilder <T> .Build(_hubClients.Users(userIds))); }
public T Groups(IReadOnlyList <string> groupNames) { return(TypedClientBuilder <T> .Build(_hubClients.Groups(groupNames))); }
public T OthersInGroup(string groupName) { return(TypedClientBuilder <T> .Build(_hubClients.OthersInGroup(groupName))); }
public T Clients(IReadOnlyList <string> connectionIds) { return(TypedClientBuilder <T> .Build(_hubClients.Clients(connectionIds))); }
public T GroupExcept(string groupName, IReadOnlyList <string> excludedConnectionIds) { return(TypedClientBuilder <T> .Build(_hubClients.GroupExcept(groupName, excludedConnectionIds))); }
public T AllExcept(IReadOnlyList <string> excludedConnectionIds) => TypedClientBuilder <T> .Build(_hubClients.AllExcept(excludedConnectionIds));
public virtual T Users(IReadOnlyList <string> userIds) { return(TypedClientBuilder <T> .Build(new MultipleUserProxy <THub>(_lifetimeManager, userIds))); }
public T AllExcept(IReadOnlyList <string> excludedConnectionIds) { return(TypedClientBuilder <T> .Build(new AllClientsExceptProxy <THub>(_lifetimeManager, excludedConnectionIds))); }
public HubClients(HubLifetimeManager <THub> lifetimeManager) { _lifetimeManager = lifetimeManager; All = TypedClientBuilder <T> .Build(new AllClientProxy <THub>(_lifetimeManager)); }
public ITestClient Build() { return(TypedClientBuilder <ITestClient> .Build(Dummy)); }