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