NonValidatingParameterBindingAttribute Class

Definition

An attribute to disable model validation for a particular type.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class NonValidatingParameterBindingAttribute : Microsoft.AspNetCore.Mvc.ModelBinderAttribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type NonValidatingParameterBindingAttribute = class
    inherit ModelBinderAttribute
    interface IPropertyValidationFilter
Public Class NonValidatingParameterBindingAttribute
Inherits ModelBinderAttribute
Implements IPropertyValidationFilter
Inheritance
NonValidatingParameterBindingAttribute
Attributes
Implements

Constructors

NonValidatingParameterBindingAttribute()

Properties

BindingSource

Gets the BindingSource.

Methods

ShouldValidateEntry(ValidationEntry, ValidationEntry)

Gets an indication whether the entry should be validated.

Applies to