C# Class FluentMetadata.Rules.PropertyMustMatchRegexRule

Inheritance: Rule
Mostra file Open project: forger/FluentMetadata

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
PropertyMustMatchRegexRule ( string pattern ) : System

Protected Methods

Method Description
EqualsRule ( Rule rule ) : bool
Matches ( string value ) : bool

Method Details

EqualsRule() protected method

protected EqualsRule ( Rule rule ) : bool
rule Rule
return bool

FormatErrorMessage() public method

public FormatErrorMessage ( string name ) : string
name string
return string

IsValid() public method

public IsValid ( object value ) : bool
value object
return bool

Matches() protected method

protected Matches ( string value ) : bool
value string
return bool

PropertyMustMatchRegexRule() public method

public PropertyMustMatchRegexRule ( string pattern ) : System
pattern string
return System