C# Class FluentMetadata.Rules.StringLengthRule

Inheritance: Rule
Mostrar archivo Open project: forger/FluentMetadata Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
StringLengthRule ( int maxLength ) : System
StringLengthRule ( int minLength, int maxLength ) : 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

StringLengthRule() public method

public StringLengthRule ( int maxLength ) : System
maxLength int
return System

StringLengthRule() public method

public StringLengthRule ( int minLength, int maxLength ) : System
minLength int
maxLength int
return System