6 instantiations of ByteArrayModelBinder
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\ByteArrayModelBinderProvider.cs (1)
24
return new
ByteArrayModelBinder
(loggerFactory);
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\ByteArrayModelBinderTests.cs (4)
22
var binder = new
ByteArrayModelBinder
(NullLoggerFactory.Instance);
46
var binder = new
ByteArrayModelBinder
(NullLoggerFactory.Instance);
69
var binder = new
ByteArrayModelBinder
(NullLoggerFactory.Instance);
91
var binder = new
ByteArrayModelBinder
(NullLoggerFactory.Instance);
ModelBinding\ModelBinderFactoryTest.cs (1)
107
var modelBinder = new
ByteArrayModelBinder
(NullLoggerFactory.Instance);
11 references to ByteArrayModelBinder
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\ByteArrayModelBinder.cs (2)
18
/// Initializes a new instance of <see cref="
ByteArrayModelBinder
"/>.
25
_logger = loggerFactory.CreateLogger(typeof(
ByteArrayModelBinder
));
Microsoft.AspNetCore.Mvc.Core.Test (9)
ModelBinding\Binders\ByteArrayModelBinderProviderTest.cs (1)
37
Assert.IsType<
ByteArrayModelBinder
>(result);
ModelBinding\Binders\ByteArrayModelBinderTests.cs (4)
22
var
binder = new ByteArrayModelBinder(NullLoggerFactory.Instance);
46
var
binder = new ByteArrayModelBinder(NullLoggerFactory.Instance);
69
var
binder = new ByteArrayModelBinder(NullLoggerFactory.Instance);
91
var
binder = new ByteArrayModelBinder(NullLoggerFactory.Instance);
ModelBinding\Metadata\ModelBinderAttributeTest.cs (3)
29
BinderType = typeof(
ByteArrayModelBinder
),
43
var attribute = new ModelBinderAttribute(typeof(
ByteArrayModelBinder
));
58
BinderType = typeof(
ByteArrayModelBinder
)
ModelBinding\ModelBinderFactoryTest.cs (1)
107
var
modelBinder = new ByteArrayModelBinder(NullLoggerFactory.Instance);