9 references to Default
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\BindingInfo.cs (1)
260
if (EmptyBodyBehavior == EmptyBodyBehavior.
Default
&&
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
288
Assert.Equal(EmptyBodyBehavior.
Default
, bindingInfo.EmptyBodyBehavior);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
303
if (parameter.BindingInfo == null || parameter.BindingInfo.EmptyBodyBehavior == EmptyBodyBehavior.
Default
)
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
106
fromBodyParameters[0].BindingInfo!.EmptyBodyBehavior == EmptyBodyBehavior.
Default
&&
ModelBinding\Binders\BodyModelBinderProvider.cs (1)
96
if (emptyBodyBehavior == EmptyBodyBehavior.
Default
)
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (2)
130
Assert.Equal(EmptyBodyBehavior.
Default
, bindingInfo.EmptyBodyBehavior);
164
Assert.Equal(EmptyBodyBehavior.
Default
, bindingInfo.EmptyBodyBehavior);
ModelBinding\Binders\BodyModelBinderProviderTest.cs (2)
92
var allowEmpty = BodyModelBinderProvider.CalculateAllowEmptyBody(EmptyBodyBehavior.
Default
, options);
102
var allowEmpty = BodyModelBinderProvider.CalculateAllowEmptyBody(EmptyBodyBehavior.
Default
, options: null);