Interface IFormValidationRule
Interface for form validation rules.
public interface IFormValidationRule
- Extension Methods
Methods
GetDefaultErrorMessage()
Gets the default error message for the validation rule.
Task<string> GetDefaultErrorMessage()
Returns
- Task<string>
GetProperties()
Gets the actual properties instance from the validation rule.
FormValidationRuleProperties GetProperties()
Returns
SetProperties(FormValidationRuleProperties)
Sets the form validation rule properties.
void SetProperties(FormValidationRuleProperties properties)
Parameters
propertiesFormValidationRuleProperties