14 implementations of IInvocationBinder
Microsoft.AspNetCore.Components.Server.Tests (1)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\TestBinder.cs (1)
11public class TestBinder : IInvocationBinder
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
1937private sealed class ConnectionState : IInvocationBinder
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\CompositeTestBinder.cs (1)
11public class CompositeTestBinder : IInvocationBinder
Internal\Protocol\TestBinder.cs (1)
11public class TestBinder : IInvocationBinder
Microsoft.AspNetCore.SignalR.Core (2)
Internal\HubConnectionBinder.cs (1)
6internal sealed class HubConnectionBinder<THub> : IInvocationBinder where THub : Hub
src\SignalR\common\Shared\ClientResultsManager.cs (1)
14internal sealed class ClientResultsManager : IInvocationBinder
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
TestBinder.cs (1)
8public class TestBinder : IInvocationBinder
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
343private class DefaultInvocationBinder : IInvocationBinder
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
RedisHubLifetimeManager.cs (1)
712private class FakeInvocationBinder : IInvocationBinder
src\SignalR\common\Shared\ClientResultsManager.cs (1)
14internal sealed class ClientResultsManager : IInvocationBinder
Microsoft.AspNetCore.SignalR.Tests (3)
HubConnectionHandlerTests.ClientResult.cs (2)
321private class TestBinder : IInvocationBinder 519private class GetClientResultTwoWaysInvocationBinder : IInvocationBinder
Internal\MessageBufferTests.cs (1)
557internal sealed class TestBinder : IInvocationBinder
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
343private class DefaultInvocationBinder : IInvocationBinder
49 references to IInvocationBinder
Microsoft.AspNetCore.Components.Server (9)
BlazorPack\BlazorPackHubProtocol.cs (1)
39public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (7)
28public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage? message) 41private HubMessage? ParseMessage(ref MessagePackReader reader, IInvocationBinder binder) 73private HubMessage CreateInvocationMessage(ref MessagePackReader reader, IInvocationBinder binder, int itemCount) 109private HubMessage CreateStreamInvocationMessage(ref MessagePackReader reader, IInvocationBinder binder, int itemCount) 139private HubMessage CreateStreamItemMessage(ref MessagePackReader reader, IInvocationBinder binder) 159private CompletionMessage CreateCompletionMessage(ref MessagePackReader reader, IInvocationBinder binder) 651protected static string? ReadString(ref MessagePackReader reader, IInvocationBinder binder, string field)
src\SignalR\common\Shared\TryGetReturnType.cs (1)
10internal static Type? TryGetReturnType(IInvocationBinder binder, string invocationId)
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (3)
2208Type IInvocationBinder.GetReturnType(string invocationId) 2218Type IInvocationBinder.GetStreamItemType(string invocationId) 2230IReadOnlyList<Type> IInvocationBinder.GetParameterTypes(string methodName)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubProtocolVersionTests.cs (1)
221public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage message)
VersionJsonHubProtocol.cs (1)
30public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.cs (1)
996public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\IHubProtocol.cs (1)
38bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage? message);
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
DefaultHubDispatcherBenchmark.cs (1)
67public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
RedisHubLifetimeManagerBenchmark.cs (1)
186public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
RedisProtocolBenchmark.cs (1)
140public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
Microsoft.AspNetCore.SignalR.Protocols.Json (3)
Protocol\JsonHubProtocol.cs (2)
89public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage? message) 115private HubMessage? ParseMessage(ReadOnlySequence<byte> input, IInvocationBinder binder)
src\SignalR\common\Shared\TryGetReturnType.cs (1)
10internal static Type? TryGetReturnType(IInvocationBinder binder, string invocationId)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (9)
Protocol\MessagePackHubProtocol.cs (1)
60public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage? message)
Protocol\MessagePackHubProtocolWorker.cs (7)
28public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage? message) 41private HubMessage? ParseMessage(ref MessagePackReader reader, IInvocationBinder binder) 73private HubMessage CreateInvocationMessage(ref MessagePackReader reader, IInvocationBinder binder, int itemCount) 109private HubMessage CreateStreamInvocationMessage(ref MessagePackReader reader, IInvocationBinder binder, int itemCount) 139private HubMessage CreateStreamItemMessage(ref MessagePackReader reader, IInvocationBinder binder) 159private CompletionMessage CreateCompletionMessage(ref MessagePackReader reader, IInvocationBinder binder) 651protected static string? ReadString(ref MessagePackReader reader, IInvocationBinder binder, string field)
src\SignalR\common\Shared\TryGetReturnType.cs (1)
10internal static Type? TryGetReturnType(IInvocationBinder binder, string invocationId)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (3)
Protocol\NewtonsoftJsonHubProtocol.cs (2)
79public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, [NotNullWhen(true)] out HubMessage? message) 114private HubMessage? ParseMessage(Utf8BufferTextReader textReader, IInvocationBinder binder)
src\SignalR\common\Shared\TryGetReturnType.cs (1)
10internal static Type? TryGetReturnType(IInvocationBinder binder, string invocationId)
Microsoft.AspNetCore.SignalR.Specification.Tests (2)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (2)
30private readonly IInvocationBinder _invocationBinder; 41public TestClient(IHubProtocol protocol = null, IInvocationBinder invocationBinder = null, string userIdentifier = null, long pauseWriterThreshold = 32768)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
DefaultHubMessageSerializerTests.cs (1)
155public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
Microsoft.AspNetCore.SignalR.Tests (9)
AddSignalRTests.cs (1)
346public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
HubConnectionHandlerTests.Activity.cs (2)
119Mock<IInvocationBinder> invocationBinder = new Mock<IInvocationBinder>();
HubConnectionHandlerTests.ClientResult.cs (1)
489var invocationBinder = new Mock<IInvocationBinder>();
HubConnectionHandlerTests.cs (5)
2011var invocationBinder = new Mock<IInvocationBinder>(); 4256var invocationBinder = new Mock<IInvocationBinder>(); 4410Mock<IInvocationBinder> invocationBinder = new Mock<IInvocationBinder>(); 4478var invocationBinder = new Mock<IInvocationBinder>();
Microsoft.AspNetCore.SignalR.Tests.Utils (3)
DummyHubProtocol.cs (1)
37public bool TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
TestClient.cs (2)
30private readonly IInvocationBinder _invocationBinder; 41public TestClient(IHubProtocol protocol = null, IInvocationBinder invocationBinder = null, string userIdentifier = null, long pauseWriterThreshold = 32768)