Validator<T> Class

Represents logic used to validate an instance of T.

Namespace: Microsoft.Practices.EnterpriseLibrary.Validation
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll) Version: (6.0.1304.0)

public abstract class Validator<T> : Validator

The type of objects the can be validated.

Generic validators will still answer the non-generic validation requests, logging a failure when the validation target is not compatible with the T.