1 write to BindingSource
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (1)
28
BindingSource
= 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.
49
context.BindingMetadata.BindingSource =
BindingSource
;
Microsoft.AspNetCore.Mvc.Test (5)
MvcOptionsSetupTest.cs (5)
176
Assert.Equal(BindingSource.Special, specialParameter.
BindingSource
);
182
Assert.Equal(BindingSource.FormFile, formFileParameter.
BindingSource
);
188
Assert.Equal(BindingSource.FormFile, formCollectionParameter.
BindingSource
);
194
Assert.Equal(BindingSource.FormFile, formFileParameter.
BindingSource
);
200
Assert.Equal(BindingSource.FormFile, formFileParameter.
BindingSource
);