C# Class Castle.Components.Validator.CollectionNotEmptyValidator

Validates that the content is a collection that is not empty
Inheritance: AbstractValidator
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
IsValid ( object instance, object fieldValue ) : bool

Implementors should perform the actual validation upon the property value

Method Details

IsValid() public méthode

Implementors should perform the actual validation upon the property value
public IsValid ( object instance, object fieldValue ) : bool
instance object The target type instance
fieldValue object The property/field value. It can be null.
Résultat bool