Share via


IPropertyValidationFilter Interface

Definition

Contract for attributes that determine whether associated properties should be validated. When the attribute is applied to a property, the validation system calls ShouldValidateEntry(ValidationEntry, ValidationEntry) to determine whether to validate that property. When applied to a type, the validation system calls ShouldValidateEntry(ValidationEntry, ValidationEntry) for each property that type defines to determine whether to validate it.

public interface class IPropertyValidationFilter
public interface IPropertyValidationFilter
type IPropertyValidationFilter = interface
Public Interface IPropertyValidationFilter
Derived

Methods

ShouldValidateEntry(ValidationEntry, ValidationEntry)

Gets an indication whether the entry should be validated.

Applies to