6 instantiations of ByteArrayModelBinder
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\ByteArrayModelBinderProvider.cs (1)
24return new ByteArrayModelBinder(loggerFactory);
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\ByteArrayModelBinderTests.cs (4)
22var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance); 46var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance); 69var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance); 91var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance);
ModelBinding\ModelBinderFactoryTest.cs (1)
107var 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)
37Assert.IsType<ByteArrayModelBinder>(result);
ModelBinding\Binders\ByteArrayModelBinderTests.cs (4)
22var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance); 46var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance); 69var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance); 91var binder = new ByteArrayModelBinder(NullLoggerFactory.Instance);
ModelBinding\Metadata\ModelBinderAttributeTest.cs (3)
29BinderType = typeof(ByteArrayModelBinder), 43var attribute = new ModelBinderAttribute(typeof(ByteArrayModelBinder)); 58BinderType = typeof(ByteArrayModelBinder)
ModelBinding\ModelBinderFactoryTest.cs (1)
107var modelBinder = new ByteArrayModelBinder(NullLoggerFactory.Instance);