C# Class Castle.Components.Validator.CollectionNotEmptyValidator

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

Public Methods

Method Description
IsValid ( object instance, object fieldValue ) : bool

Implementors should perform the actual validation upon the property value

Method Details

IsValid() public method

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.
return bool