Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Remove redundant property
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSandersonMS committed Apr 4, 2017
1 parent 02e596c commit 4bee37b
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,6 @@ public BodyModelBinderProvider(
_options = options;
}

/// <summary>
/// Gets or sets a flag that controls whether the binder should require non-null
/// input values to be supplied. Defaults to <c>true</c>.
/// </summary>
/// <example>
/// If <c>true</c>, and an associated <see cref="IInputFormatter"/> supplies <c>null</c>
/// 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.
/// </example>
public bool IsBindingRequired { get; set; } = true;

/// <inheritdoc />
public IModelBinder GetBinder(ModelBinderProviderContext context)
{
Expand Down

0 comments on commit 4bee37b

Please sign in to comment.