From 4bee37b38a13d94d189b8acd78dbe2437ab64658 Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Tue, 4 Apr 2017 15:16:35 +0100 Subject: [PATCH] Remove redundant property --- .../ModelBinding/Binders/BodyModelBinderProvider.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Binders/BodyModelBinderProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Binders/BodyModelBinderProvider.cs index 0222e9510d..7bd8b2f408 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Binders/BodyModelBinderProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Binders/BodyModelBinderProvider.cs @@ -70,17 +70,6 @@ public BodyModelBinderProvider( _options = options; } - /// - /// Gets or sets a flag that controls whether the binder should require non-null - /// input values to be supplied. Defaults to true. - /// - /// - /// If true, and an associated supplies null - /// as the value to bind (for example, if an incoming POST or PUT request supplies a - /// zero-length body), the binder will register a validation error. - /// - public bool IsBindingRequired { get; set; } = true; - /// public IModelBinder GetBinder(ModelBinderProviderContext context) {