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