Options
Menu

Interface IValidationResultVisitor

It enables to create your own visitors for definition of various validation results.

Index

Properties

ValidationResult

ValidationResult: IValidationResult

Methods

AddRule

  • AddRule(IPropertyValidationRule: any): any
  • It creates (visits) validation result for validation rule for property.

    Parameters

    • IPropertyValidationRule: any
      • property validation rule.

    Returns any

AddValidation

  • AddValidation(IValidator: any): any
  • It creates (visits) validation result for shared validation rule.

    Parameters

    • IValidator: any
      • shared validation rule

    Returns any

AddValidator

  • AddValidator(IAbstractValidationRule: any): any
  • It creates (visits) validation result for child validation rule.

    Parameters

    • IAbstractValidationRule: any
      • child validation rule

    Returns any

Generated using TypeDoc