Example #1
0
 public T GroupExcept(string groupName, IReadOnlyList <string> excludeIds)
 {
     return(TypedClientBuilder <T> .Build(new GroupExceptProxy <THub>(_lifetimeManager, groupName, excludeIds)));
 }
Example #2
0
 public T Groups(IReadOnlyList <string> groupNames)
 {
     return(TypedClientBuilder <T> .Build(new MultipleGroupProxy <THub>(_lifetimeManager, groupNames)));
 }
Example #3
0
 public T Clients(IReadOnlyList <string> connectionIds)
 {
     return(TypedClientBuilder <T> .Build(new MultipleClientProxy <THub>(_lifetimeManager, connectionIds)));
 }
Example #4
0
 public virtual T Group(string groupName)
 {
     return(TypedClientBuilder <T> .Build(new GroupProxy <THub>(_lifetimeManager, groupName)));
 }
Example #5
0
 public T AllExcept(IReadOnlyList <string> excludedIds)
 {
     return(TypedClientBuilder <T> .Build(new AllClientsExceptProxy <THub>(_lifetimeManager, excludedIds)));
 }
Example #6
0
 public virtual T Client(string connectionId)
 {
     return(TypedClientBuilder <T> .Build(new SingleClientProxy <THub>(_lifetimeManager, connectionId)));
 }
Example #7
0
 public T Users(IReadOnlyList <string> userIds)
 {
     return(TypedClientBuilder <T> .Build(_hubClients.Users(userIds)));
 }
Example #8
0
 public T Client(string connectionId)
 {
     return(TypedClientBuilder <T> .Build(_hubClients.Client(connectionId)));
 }
Example #9
0
 public T OthersInGroup(string groupName)
 {
     return(TypedClientBuilder <T> .Build(_hubClients.OthersInGroup(groupName)));
 }
Example #10
0
 public T User(string userId)
 {
     return(TypedClientBuilder <T> .Build(_hubClients.User(userId)));
 }
Example #11
0
 public T Groups(IReadOnlyList <string> groupNames)
 {
     return(TypedClientBuilder <T> .Build(_hubClients.Groups(groupNames)));
 }
Example #12
0
 public T Clients(IReadOnlyList <string> connectionIds)
 {
     return(TypedClientBuilder <T> .Build(_hubClients.Clients(connectionIds)));
 }
Example #13
0
 public T GroupExcept(string groupName, IReadOnlyList <string> excludedConnectionIds)
 {
     return(TypedClientBuilder <T> .Build(_hubClients.GroupExcept(groupName, excludedConnectionIds)));
 }
Example #14
0
 public virtual T User(string userId)
 {
     return(TypedClientBuilder <T> .Build(new UserProxy <THub>(_lifetimeManager, userId)));
 }
Example #15
0
 public HubClients(HubLifetimeManager <THub> lifetimeManager)
 {
     _lifetimeManager = lifetimeManager;
     All = TypedClientBuilder <T> .Build(new AllClientProxy <THub>(_lifetimeManager));
 }
Example #16
0
 public virtual T Users(IReadOnlyList <string> userIds)
 {
     return(TypedClientBuilder <T> .Build(new MultipleUserProxy <THub>(_lifetimeManager, userIds)));
 }
Example #17
0
 public T AllExcept(IReadOnlyList <string> excludedConnectionIds) => TypedClientBuilder <T> .Build(_hubClients.AllExcept(excludedConnectionIds));