C# Class FluentMetadata.Rules.StringLengthRule

Inheritance: Rule
Afficher le fichier Open project: forger/FluentMetadata Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
StringLengthRule ( int maxLength ) : System
StringLengthRule ( int minLength, int maxLength ) : System

Méthodes protégées

Méthode Description
EqualsRule ( Rule rule ) : bool

Method Details

EqualsRule() protected méthode

protected EqualsRule ( Rule rule ) : bool
rule Rule
Résultat bool

FormatErrorMessage() public méthode

public FormatErrorMessage ( string name ) : string
name string
Résultat string

IsValid() public méthode

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

StringLengthRule() public méthode

public StringLengthRule ( int maxLength ) : System
maxLength int
Résultat System

StringLengthRule() public méthode

public StringLengthRule ( int minLength, int maxLength ) : System
minLength int
maxLength int
Résultat System