26 references to Custom
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
26model.BindingInfo.BindingSource = BindingSource.Custom;
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
170Assert.Same(BindingSource.Custom, bindingInfo.BindingSource);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
252parameter.Source == BindingSource.Custom)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
1508Assert.Same(BindingSource.Custom, parameter.Source);
Microsoft.AspNetCore.Mvc.Core (8)
BindPropertyAttribute.cs (3)
38/// Subclass this attribute and set <see cref="BindingSource"/> if <see cref="BindingSource.Custom"/> is not 62/// defaults to <see cref="BindingSource.Custom"/>. May be overridden in a subclass. 70return BindingSource.Custom;
ModelBinderAttribute.cs (4)
44/// Subclass this attribute and set <see cref="BindingSource"/> if <see cref="BindingSource.Custom"/> is not 56/// Subclass this attribute and set <see cref="BindingSource"/> if <see cref="BindingSource.Custom"/> is not 80/// defaults to <see cref="BindingSource.Custom"/>. May be overridden in a subclass. 88return BindingSource.Custom;
ModelBinderOfTAttribute.cs (1)
20/// Subclass this attribute and set <see cref="BindingSource"/> if <see cref="BindingSource.Custom"/> is not
Microsoft.AspNetCore.Mvc.Core.Test (14)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (3)
31Assert.Same(BindingSource.Custom, parameterModel.BindingInfo.BindingSource); 259Assert.Same(BindingSource.Custom, bindingInfo.BindingSource); 280Assert.Same(BindingSource.Custom, bindingInfo.BindingSource);
Controllers\ControllerBinderDelegateProviderTest.cs (7)
702BindingInfo = new BindingInfo() { BindingSource = BindingSource.Custom }, 743BindingInfo = new BindingInfo() { BindingSource = BindingSource.Custom }, 786BindingSource = BindingSource.Custom, 799BindingSource = BindingSource.Custom, 849BindingSource = BindingSource.Custom, 862BindingSource = BindingSource.Custom, 1405public BindingSource BindingSource { get { return BindingSource.Custom; } }
ModelBinding\DefaultModelBindingContextTest.cs (1)
32d.BindingSource = BindingSource.Custom;
ModelBinding\Metadata\BindingSourceTest.cs (1)
70BindingSource.Custom,
ModelBinding\Metadata\ModelBinderAttributeTest.cs (2)
36Assert.Same(BindingSource.Custom, source); 49Assert.Same(BindingSource.Custom, source);