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