I\'m trying to write my own Custom Validation attribute but I\'m having some problems.
The attribute I\'m trying to write is that when a user logs in, the password w
you need a STATIC method in your case: EXAMPLE:
public static ValidationResult ValidateFrequency( double frequency, ValidationContext context ) { if( context == null ) { return ( ValidationResult.Success ); } }