6 instantiations of DefaultHubMessageSerializer
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisProtocolBenchmark.cs (1)
34_protocol = new RedisProtocol(new DefaultHubMessageSerializer(resolver, new List<string>() { "protocol1", "protocol2" }, hubSupportedProtocols: null));
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
RedisHubLifetimeManager.cs (2)
78_protocol = new RedisProtocol(new DefaultHubMessageSerializer(hubProtocolResolver, globalHubOptions.Value.SupportedProtocols, hubOptions.Value.SupportedProtocols)); 83_protocol = new RedisProtocol(new DefaultHubMessageSerializer(hubProtocolResolver, supportedProtocols, null));
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (3)
DefaultHubMessageSerializerTests.cs (2)
26var serializer = new DefaultHubMessageSerializer(resolver, protocolNames, hubSupportedProtocols: null); 46var serializer = new DefaultHubMessageSerializer(resolver, new List<string>() { "json" }, new List<string>() { "messagepack" });
RedisProtocolTests.cs (1)
299return new DefaultHubMessageSerializer(protocolResolver, protocols.ConvertAll(p => p.Name), hubSupportedProtocols: null);
6 references to DefaultHubMessageSerializer
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
Internal\RedisProtocol.cs (2)
16private readonly DefaultHubMessageSerializer _messageSerializer; 18public RedisProtocol(DefaultHubMessageSerializer messageSerializer)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (4)
DefaultHubMessageSerializerTests.cs (2)
26var serializer = new DefaultHubMessageSerializer(resolver, protocolNames, hubSupportedProtocols: null); 46var serializer = new DefaultHubMessageSerializer(resolver, new List<string>() { "json" }, new List<string>() { "messagepack" });
RedisProtocolTests.cs (2)
192var hubMessageSerializer = CreateHubMessageSerializer(new List<IHubProtocol>() { new DummyHubProtocol("p1"), new DummyHubProtocol("p2") }); 295private DefaultHubMessageSerializer CreateHubMessageSerializer(List<IHubProtocol> protocols)