12 references to GroupAction
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisProtocolBenchmark.cs (1)
36_groupCommand = new RedisGroupCommand(id: 42, serverName: "Server", GroupAction.Add, groupName: "group", connectionId: "connection");
Microsoft.AspNetCore.SignalR.StackExchangeRedis (9)
Internal\RedisGroupCommand.cs (2)
21public GroupAction Action { get; } 33public RedisGroupCommand(int id, string serverName, GroupAction action, string groupName, string connectionId)
Internal\RedisProtocol.cs (2)
214var action = (GroupAction)reader.ReadByte();
RedisHubLifetimeManager.cs (5)
221return SendGroupActionAndWaitForAck(connectionId, groupName, GroupAction.Add); 237return SendGroupActionAndWaitForAck(connectionId, groupName, GroupAction.Remove); 346private async Task SendGroupActionAndWaitForAck(string connectionId, string groupName, GroupAction action) 496if (groupMessage.Action == GroupAction.Remove) 501if (groupMessage.Action == GroupAction.Add)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
RedisProtocolTests.cs (2)
59CreateTestData("GroupAdd", new RedisGroupCommand(42, "S", GroupAction.Add, "G", "C" ), 0x95, 0x2A, 0xA1, (byte)'S', 0x01, 0xA1, (byte)'G', 0xA1, (byte)'C'), 60CreateTestData("GroupRemove", new RedisGroupCommand(42, "S", GroupAction.Remove, "G", "C" ), 0x95, 0x2A, 0xA1, (byte)'S', 0x02, 0xA1, (byte)'G', 0xA1, (byte)'C'),