1 write to TreatEmptyInputAsDefaultValue
Microsoft.AspNetCore.Mvc.Abstractions (1)
Formatters\InputFormatterContext.cs (1)
79TreatEmptyInputAsDefaultValue = treatEmptyInputAsDefaultValue;
5 references to TreatEmptyInputAsDefaultValue
Microsoft.AspNetCore.Mvc.Abstractions (1)
Formatters\InputFormatterContext.cs (1)
58/// A value for the <see cref="TreatEmptyInputAsDefaultValue"/> property.
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\InputFormatter.cs (1)
102if (context.TreatEmptyInputAsDefaultValue)
Formatters\SystemTextJsonInputFormatter.cs (1)
98if (model == null && !context.TreatEmptyInputAsDefaultValue)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\BodyModelBinderTests.cs (1)
187It.Is<InputFormatterContext>(ctx => ctx.TreatEmptyInputAsDefaultValue == treatEmptyInputAsDefaultValueOption)),
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonInputFormatter.cs (1)
178if (model == null && !context.TreatEmptyInputAsDefaultValue)