1 write to BindingSource
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (1)
28BindingSource = bindingSource;
10 references to BindingSource
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (5)
17/// The <see cref="Type"/>. The provider sets <see cref="BindingSource"/> of the given <see cref="Type"/> or 21/// The <see cref="BindingSource"/> to assign to the given <paramref name="type"/>. 32/// The <see cref="Type"/>. The provider sets <see cref="BindingSource"/> of the given <see cref="Type"/> or 38/// The <see cref="BindingSource"/> to assign to the Type. 49context.BindingMetadata.BindingSource = BindingSource;
Microsoft.AspNetCore.Mvc.Test (5)
MvcOptionsSetupTest.cs (5)
176Assert.Equal(BindingSource.Special, specialParameter.BindingSource); 182Assert.Equal(BindingSource.FormFile, formFileParameter.BindingSource); 188Assert.Equal(BindingSource.FormFile, formCollectionParameter.BindingSource); 194Assert.Equal(BindingSource.FormFile, formFileParameter.BindingSource); 200Assert.Equal(BindingSource.FormFile, formFileParameter.BindingSource);