C# Class FluentMetadata.Rules.EqualToRule

Inheritance: Rule
Mostra file Open project: forger/FluentMetadata

Public Methods

Method Description
EqualToRule ( string errorMessageFormat ) : System
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool

Protected Methods

Method Description
EqualsRule ( Rule rule ) : bool

Method Details

EqualToRule() public method

public EqualToRule ( string errorMessageFormat ) : System
errorMessageFormat string
return System

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