C# Class FluentMetadata.Rules.PropertyMustMatchRegexRule

Inheritance: Rule
Afficher le fichier Open project: forger/FluentMetadata

Méthodes publiques

Méthode Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
PropertyMustMatchRegexRule ( string pattern ) : System

Méthodes protégées

Méthode Description
EqualsRule ( Rule rule ) : bool
Matches ( string value ) : 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

Matches() protected méthode

protected Matches ( string value ) : bool
value string
Résultat bool

PropertyMustMatchRegexRule() public méthode

public PropertyMustMatchRegexRule ( string pattern ) : System
pattern string
Résultat System