C# Class FluentMetadata.Rules.Rule

Inheritance: IRule
显示文件 Open project: forger/FluentMetadata Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
FormatErrorMessage ( string name ) : string
GetHashCode ( ) : int
IsValid ( object value ) : bool

Protected Methods

Method Description
EqualsRule ( Rule rule ) : bool
Rule ( string errorMessageFormat ) : System

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

EqualsRule() protected abstract method

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

FormatErrorMessage() public abstract method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsValid() public abstract method

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

Rule() protected method

protected Rule ( string errorMessageFormat ) : System
errorMessageFormat string
return System