Skip to content

Commit 4a2103a

Browse files
committed
Add groupName
1 parent e6606c2 commit 4a2103a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/SignalR/server/Core/ref/Microsoft.AspNetCore.SignalR.Core.netcoreapp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static partial class HubClientsExtensions
102102
public static T Clients<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string connection1, string connection2, string connection3, string connection4, string connection5, string connection6) { throw null; }
103103
public static T Clients<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string connection1, string connection2, string connection3, string connection4, string connection5, string connection6, string connection7) { throw null; }
104104
public static T Clients<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string connection1, string connection2, string connection3, string connection4, string connection5, string connection6, string connection7, string connection8) { throw null; }
105-
public static T GroupExcept<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, System.Collections.Generic.IEnumerable<string> excludedConnectionIds) { throw null; }
105+
public static T GroupExcept<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string groupName, System.Collections.Generic.IEnumerable<string> excludedConnectionIds) { throw null; }
106106
public static T GroupExcept<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string groupName, string excludedConnectionId1) { throw null; }
107107
public static T GroupExcept<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string groupName, string excludedConnectionId1, string excludedConnectionId2) { throw null; }
108108
public static T GroupExcept<T>(this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string groupName, string excludedConnectionId1, string excludedConnectionId2, string excludedConnectionId3) { throw null; }

src/SignalR/server/Core/src/HubClientsExtensions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,12 @@ public static T GroupExcept<T>(this IHubClients<T> hubClients, string groupName,
520520
/// Gets a <typeparamref name="T" /> that can be used to invoke methods on all connections in the specified group excluding the specified connections.
521521
/// </summary>
522522
/// <param name="hubClients">The abstraction that provides access to connections.</param>
523+
/// <param name="groupName">The group name.</param>
523524
/// <param name="excludedConnectionIds">The connection IDs to exclude.</param>
524525
/// <returns>A <typeparamref name="T" /> representing the methods that can be invoked on the clients.</returns>
525-
public static T GroupExcept<T>(this IHubClients<T> hubClients, IEnumerable<string> excludedConnectionIds)
526+
public static T GroupExcept<T>(this IHubClients<T> hubClients, string groupName, IEnumerable<string> excludedConnectionIds)
526527
{
527-
return hubClients.GroupExcept(excludedConnectionIds.ToList());
528+
return hubClients.GroupExcept(groupName, excludedConnectionIds.ToList());
528529
}
529530

530531
/// <summary>

0 commit comments

Comments
 (0)