21 references to Build
Microsoft.AspNetCore.SignalR.Core (21)
Internal\HubClients`T.cs (9)
16
All = TypedClientBuilder<T>.
Build
(new AllClientProxy<THub>(_lifetimeManager));
23
return TypedClientBuilder<T>.
Build
(new AllClientsExceptProxy<THub>(_lifetimeManager, excludedConnectionIds));
28
return TypedClientBuilder<T>.
Build
(new SingleClientProxy<THub>(_lifetimeManager, connectionId));
33
return TypedClientBuilder<T>.
Build
(new MultipleClientProxy<THub>(_lifetimeManager, connectionIds));
38
return TypedClientBuilder<T>.
Build
(new GroupProxy<THub>(_lifetimeManager, groupName));
43
return TypedClientBuilder<T>.
Build
(new GroupExceptProxy<THub>(_lifetimeManager, groupName, excludedConnectionIds));
48
return TypedClientBuilder<T>.
Build
(new MultipleGroupProxy<THub>(_lifetimeManager, groupNames));
53
return TypedClientBuilder<T>.
Build
(new UserProxy<THub>(_lifetimeManager, userId));
58
return TypedClientBuilder<T>.
Build
(new MultipleUserProxy<THub>(_lifetimeManager, userIds));
Internal\TypedHubClients.cs (12)
18
public T Client(string connectionId) => TypedClientBuilder<T>.
Build
(_hubClients.Client(connectionId));
20
public T All => TypedClientBuilder<T>.
Build
(_hubClients.All);
22
public T Caller => TypedClientBuilder<T>.
Build
(_hubClients.Caller);
24
public T Others => TypedClientBuilder<T>.
Build
(_hubClients.Others);
26
public T AllExcept(IReadOnlyList<string> excludedConnectionIds) => TypedClientBuilder<T>.
Build
(_hubClients.AllExcept(excludedConnectionIds));
30
return TypedClientBuilder<T>.
Build
(_hubClients.Group(groupName));
35
return TypedClientBuilder<T>.
Build
(_hubClients.GroupExcept(groupName, excludedConnectionIds));
40
return TypedClientBuilder<T>.
Build
(_hubClients.Clients(connectionIds));
45
return TypedClientBuilder<T>.
Build
(_hubClients.Groups(groupNames));
50
return TypedClientBuilder<T>.
Build
(_hubClients.OthersInGroup(groupName));
55
return TypedClientBuilder<T>.
Build
(_hubClients.User(userId));
60
return TypedClientBuilder<T>.
Build
(_hubClients.Users(userIds));