Validate() public abstract méthode

public abstract Validate ( object value ) : void
value object
Résultat void
Exemple #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);
     }
 }