C# Class Sandra.SimpleValidator.Rules.MinimumLength

Inheritance: IRule
Afficher le fichier Open project: Sandra/Sandra.SimpleValidator

Méthodes publiques

Méthode Description
IsValid ( object value ) : bool
MinimumLength ( int length )
WithMessage ( string message ) : IRule

Method Details

IsValid() public méthode

public IsValid ( object value ) : bool
value object
Résultat bool

MinimumLength() public méthode

public MinimumLength ( int length )
length int

WithMessage() public méthode

public WithMessage ( string message ) : IRule
message string
Résultat IRule