26 references to Custom
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
26
model.BindingInfo.BindingSource = BindingSource.
Custom
;
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
170
Assert.Same(BindingSource.
Custom
, bindingInfo.BindingSource);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
252
parameter.Source == BindingSource.
Custom
)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
1508
Assert.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.
70
return 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.
88
return 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)
31
Assert.Same(BindingSource.
Custom
, parameterModel.BindingInfo.BindingSource);
259
Assert.Same(BindingSource.
Custom
, bindingInfo.BindingSource);
280
Assert.Same(BindingSource.
Custom
, bindingInfo.BindingSource);
Controllers\ControllerBinderDelegateProviderTest.cs (7)
702
BindingInfo = new BindingInfo() { BindingSource = BindingSource.
Custom
},
743
BindingInfo = new BindingInfo() { BindingSource = BindingSource.
Custom
},
786
BindingSource = BindingSource.
Custom
,
799
BindingSource = BindingSource.
Custom
,
849
BindingSource = BindingSource.
Custom
,
862
BindingSource = BindingSource.
Custom
,
1405
public BindingSource BindingSource { get { return BindingSource.
Custom
; } }
ModelBinding\DefaultModelBindingContextTest.cs (1)
32
d.BindingSource = BindingSource.
Custom
;
ModelBinding\Metadata\BindingSourceTest.cs (1)
70
BindingSource.
Custom
,
ModelBinding\Metadata\ModelBinderAttributeTest.cs (2)
36
Assert.Same(BindingSource.
Custom
, source);
49
Assert.Same(BindingSource.
Custom
, source);