C# Class Adf.Base.Validation.NonEmptyAttribute

Inheritance: System.Attribute, IPropertyValidator
Mostra file Open project: NLADP/ADF

Public Methods

Method Description
IsValid ( PropertyInfo propertyToValidate, object value ) : ValidationResult

Determines whether the specified value is valid for the supplied property.

Method Details

IsValid() public method

Determines whether the specified value is valid for the supplied property.
public IsValid ( PropertyInfo propertyToValidate, object value ) : ValidationResult
propertyToValidate System.Reflection.PropertyInfo The specified property.
value object The specified value.
return ValidationResult