C# Class formulate.app.Helpers.ValidationHelper

Helps with operations related to validations.
Afficher le fichier Open project: rhythmagency/formulate

Méthodes publiques

Méthode Description
GetAllValidationKinds ( ) : IValidationKind[]

Returns the validation kinds.

ReplaceMessageTokens ( string message, ValidationContext context ) : string

Replaces the tokens in a validation message.

Private Methods

Méthode Description
ValidationHelper ( ) : System.Text.RegularExpressions

Static constructor.

Method Details

GetAllValidationKinds() public static méthode

Returns the validation kinds.
public static GetAllValidationKinds ( ) : IValidationKind[]
Résultat IValidationKind[]

ReplaceMessageTokens() public static méthode

Replaces the tokens in a validation message.
public static ReplaceMessageTokens ( string message, ValidationContext context ) : string
message string /// The validation message. ///
context ValidationContext /// The validation configuration deserialization context. ///
Résultat string