Validate() public abstract method

public abstract Validate ( object value ) : void
value object
return void
Ejemplo n.º 1
0
 internal void Validate(object value)
 {
     if (validation != null)
     {
         validation.Validate(value);
     }
 }
 internal void Validate(object value)
 {
     try {
         _validator.Validate(value);
     }
     catch (Exception ex) {
         throw new ConfigurationErrorsException(SR.GetString(SR.Top_level_validation_error, _name, ex.Message), ex);
     }
 }