20 references to TestBinder
Microsoft.AspNetCore.SignalR.Common.Tests (20)
Internal\Protocol\JsonHubProtocolTests.cs (1)
52var binder = new TestBinder(Array.Empty<Type>(), typeof(object));
Internal\Protocol\JsonHubProtocolTestsBase.cs (9)
194var binder = new TestBinder(Array.Empty<Type>(), typeof(object)); 205var binder = new TestBinder(Array.Empty<Type>(), typeof(object)); 234var binder = new TestBinder(paramTypes: new[] { typeof(int), typeof(string) }, returnType: typeof(bool)); 254var binder = new TestBinder(paramTypes: new[] { typeof(int), typeof(string) }, returnType: typeof(bool)); 267var binder = new TestBinder(paramTypes: new[] { typeof(int[]) }, returnType: null); 318var binder = new TestBinder(null, typeof(CustomObject)); 439var binder = new TestBinder(null, typeof(RawResult)); 452binder = new TestBinder(null, testData.ResultType); 487var binder = new TestBinder(paramTypes: null, returnType: typeof(int));
Internal\Protocol\MessagePackHubProtocolTestBase.cs (3)
362var binder = new TestBinder(new[] { typeof(string) }, typeof(string)); 395var binder = new TestBinder(new[] { typeof(string) }, typeof(string)); 406var binder = new TestBinder(new[] { typeof(string) }, typeof(string));
Internal\Protocol\MessagePackHubProtocolTests.cs (3)
219var binder = new TestBinder(null, typeof(RawResult)); 232binder = new TestBinder(null, testData.ResultType); 262var binder = new TestBinder(paramTypes: null, returnType: typeof(int));
Internal\Protocol\NewtonsoftJsonHubProtocolTests.cs (1)
50var binder = new TestBinder(Array.Empty<Type>(), typeof(object));
Internal\Protocol\TestBinder.cs (3)
35public TestBinder() : this(null, null) { } 36public TestBinder(Type[] paramTypes) : this(paramTypes, null) { } 37public TestBinder(Type returnType) : this(null, returnType) { }