ValidateNeverAttribute 클래스

정의

속성 또는 매개 변수를 유효성 검사에서 제외해야 했음을 나타냅니다. 속성에 적용하면 유효성 검사 시스템에서 해당 속성을 제외합니다. 매개 변수에 적용하면 유효성 검사 시스템에서 해당 매개 변수를 제외합니다. 형식에 적용하면 유효성 검사 시스템은 해당 형식 내의 모든 속성을 제외합니다.

public ref class ValidateNeverAttribute sealed : Attribute, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IPropertyValidationFilter
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ValidateNeverAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ValidateNeverAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ValidateNeverAttribute = class
    inherit Attribute
    interface IPropertyValidationFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ValidateNeverAttribute = class
    inherit Attribute
    interface IPropertyValidationFilter
Public NotInheritable Class ValidateNeverAttribute
Inherits Attribute
Implements IPropertyValidationFilter
상속
ValidateNeverAttribute
특성
구현

생성자

ValidateNeverAttribute()

속성 또는 매개 변수를 유효성 검사에서 제외해야 했음을 나타냅니다. 속성에 적용하면 유효성 검사 시스템에서 해당 속성을 제외합니다. 매개 변수에 적용하면 유효성 검사 시스템에서 해당 매개 변수를 제외합니다. 형식에 적용하면 유효성 검사 시스템은 해당 형식 내의 모든 속성을 제외합니다.

메서드

ShouldValidateEntry(ValidationEntry, ValidationEntry)

의 유효성을 검사해야 하는지 여부를 나타내는 표시를 entry 가져옵니다.

적용 대상