Compartilhar via


Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Classes

  Class Description
Public class AndCompositeValidator
Aggregates a set of Validator instances, performing validation by allowing each validator to perform its own.
Public class BaseValidationAttribute
Base class for validation related attributes.
Public class ContainsCharactersValidator
Performs validation on strings by verifying if it contains a character set using the ContainsCharacters() mode.
Public class ContainsCharactersValidatorAttribute
Public class DateTimeRangeValidator
Performs validation on DateTime instances by comparing them to the specified boundaries.
Public class DateTimeRangeValidatorAttribute
Attribute to specify date range validation on a property, method or field.
Public class DomainValidator<T>
Validates an object by checking if it belongs to a set.
Public class DomainValidatorAttribute
Represents a DomainValidatorAttribute.
Public class EnumConversionValidator
Validates a string by checking it represents a value for a given enum type.
Public class EnumConversionValidatorAttribute
Represents a EnumConversionValidator.
Public class FieldValueValidator<T>
Validates the value of a field using a configured validator.
Public class HasSelfValidationAttribute
Indicates the target type defines self validation methods.
Public class IgnoreNullsAttribute
Indicates that a nulla null reference (Nothing in Visual Basic) value is to be allowed by the validator represented by the validation attributes for the language element this attribute is bound.
Public class MemberAccessValidator<T>
Base generic validator for member access validation.
Public class MethodReturnValueValidator<T>
Validates the return value of a method without parameters using a configured validator.
Public class NotNullValidator
Logs a failure when validating a nulla null reference (Nothing in Visual Basic) reference.
Public class NotNullValidatorAttribute
Describes a NotNullValidator.
Public class ObjectCollectionValidator
Performs validation on collection objects by applying the validation rules specified for a supplied type to its members.
Public class ObjectCollectionValidatorAttribute
Represents an ObjectValidator.
Public class ObjectValidator
Performs validation on objects by applying the validation rules specified for a supplied type.
Public class ObjectValidatorAttribute
Represents an ObjectValidator.
Public class OrCompositeValidator
Aggregates a set of Validator instances, performing validation by allowing each validator to perform its own.
Public class PropertyComparisonValidator
Performs validation by comparing the a value with the value of a property on the target object by using a specified comparison operation.
Public class PropertyComparisonValidatorAttribute
Public class PropertyValueValidator<T>
Validates the value of a property using a configured validator.
Public class RangeValidator
Performs validation on T instances by comparing them to the specified boundaries.
Public class RangeValidator<T>
Performs validation on T instances by comparing them to the specified boundaries.
Public class RangeValidatorAttribute
Represents a RangeValidator.
Public class RegexValidator
Performs validation on strings by matching them to a Regex.
Public class RegexValidatorAttribute
Represents a RegexValidator.
Public class RelativeDateTimeValidator
Validates a DateTime value by checking it belongs to a range relative to the current date.
Public class RelativeDateTimeValidatorAttribute
Public class SelfValidationAttribute
Marks a method as implementing self validation logic.
Public class SelfValidationValidator
Performs validation by invoking a method on the validated object.
Public class StringLengthValidator
Performs validation on strings by comparing their lengths to the specified boundaries.
Public class StringLengthValidatorAttribute
Describes a StringLengthValidator.
Public class TypeConversionValidator
Validates a string by checking it represents a value for a given type.
Public class TypeConversionValidatorAttribute
Represents a TypeConversionValidator.
Public class ValidatorAttribute
Describes the validation logic that must be applied to a language element when creating a Validator for a type.
Public class ValidatorCompositionAttribute
Indicates that the kind of composition to use when multiple ValidatorAttribute instances are bound to a language element.
Public class ValidatorWrapper
Validator that wraps other validators and adds instrumentation support.
Public class ValueAccessComparisonValidator
Performs validation by comparing the provided value with another value extracted from the validation target.
Public class ValueAccessValidator
Performs validation on objects by validating a value extracted from them through an instance of ValueAccess with a specified Validator.
Public class ValueValidator
Base class for validators on simple values.
Public class ValueValidator<T>
Base class for strongly typed validators on simple values.
Public class ValueValidatorAttribute
Describes a ValueValidator.

Enumerations

  Enumeration Description
Public enumeration ComparisonOperator
Represents the different comparison behaviors available for a PropertyComparisonValidator.
Public enumeration ContainsCharacters
Represents the behavior of the ContainsCharactersValidator.
Public enumeration DateTimeUnit
Date time unit.
Public enumeration RangeBoundaryType
Indicates how to interpret a range boundary.
Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.