C# Class FluentMetadata.Rules.RequiredRule

Inheritance: Rule
Mostrar archivo Open project: forger/FluentMetadata

Public Methods

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

Protected Methods

Method Description
EqualsRule ( Rule rule ) : 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

RequiredRule() public method

public RequiredRule ( ) : System
return System