9 instantiations of BindingSourceMetadataProvider
Microsoft.AspNetCore.Mvc.Core (5)
Infrastructure\MvcCoreMvcOptionsSetup.cs (5)
116modelMetadataDetailsProviders.Add(new BindingSourceMetadataProvider(typeof(CancellationToken), BindingSource.Special)); 117modelMetadataDetailsProviders.Add(new BindingSourceMetadataProvider(typeof(IFormFile), BindingSource.FormFile)); 118modelMetadataDetailsProviders.Add(new BindingSourceMetadataProvider(typeof(IFormCollection), BindingSource.FormFile)); 119modelMetadataDetailsProviders.Add(new BindingSourceMetadataProvider(typeof(IFormFileCollection), BindingSource.FormFile)); 120modelMetadataDetailsProviders.Add(new BindingSourceMetadataProvider(typeof(IEnumerable<IFormFile>), BindingSource.FormFile));
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApplicationModels\DefaultApplicationModelProviderTest.cs (3)
116var detailsProvider = new BindingSourceMetadataProvider(typeof(string), BindingSource.Special); 259var detailsProvider = new BindingSourceMetadataProvider(typeof(Guid), BindingSource.Special); 287var detailsProvider = new BindingSourceMetadataProvider(typeof(Guid), BindingSource.Special);
ModelBinding\Metadata\BindingSourceMetadataProviderTests.cs (1)
12var provider = new BindingSourceMetadataProvider(typeof(Test), BindingSource.Special);
15 references to BindingSourceMetadataProvider
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (1)
14/// Creates a new <see cref="BindingSourceMetadataProvider"/> for the given <paramref name="type"/>.
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApplicationModels\DefaultApplicationModelProviderTest.cs (3)
116var detailsProvider = new BindingSourceMetadataProvider(typeof(string), BindingSource.Special); 259var detailsProvider = new BindingSourceMetadataProvider(typeof(Guid), BindingSource.Special); 287var detailsProvider = new BindingSourceMetadataProvider(typeof(Guid), BindingSource.Special);
ModelBinding\Metadata\BindingSourceMetadataProviderTests.cs (1)
12var provider = new BindingSourceMetadataProvider(typeof(Test), BindingSource.Special);
Microsoft.AspNetCore.Mvc.Test (10)
MvcOptionsSetupTest.cs (10)
174var specialParameter = Assert.IsType<BindingSourceMetadataProvider>(provider); 180var formFileParameter = Assert.IsType<BindingSourceMetadataProvider>(provider); 186var formCollectionParameter = Assert.IsType<BindingSourceMetadataProvider>(provider); 192var formFileParameter = Assert.IsType<BindingSourceMetadataProvider>(provider); 198var formFileParameter = Assert.IsType<BindingSourceMetadataProvider>(provider);