Class ValidationRule<TProperties, TValue>
Represents a base class for validation rules without client properties.
public abstract class ValidationRule<TProperties, TValue> : ValidationRule<TProperties, ServerValidationRuleClientProperties, TValue>, IValidationRule where TProperties : ValidationRuleProperties, new()
Type Parameters
TProperties
Validation rule properties.
TValue
Value to be validated.
- Inheritance
-
objectValidationRule<TProperties, ServerValidationRuleClientProperties, TValue>ValidationRule<TProperties, TValue>
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
ClientRuleName
Gets the client rule name identifier.
public override string ClientRuleName { get; }
Property Value
- string