C# Class Sandra.SimpleValidator.Rules.Between

Inheritance: IRule
ファイルを表示 Open project: Sandra/Sandra.SimpleValidator

Public Methods

Method Description
Between ( decimal min, decimal max )
Between ( double min, double max )
Between ( float min, float max )
Between ( int min, int max )
IsInclusive ( bool isInclusive = false ) : IRule
IsValid ( dynamic value ) : bool
WithMessage ( string message ) : IRule

Method Details

Between() public method

public Between ( decimal min, decimal max )
min decimal
max decimal

Between() public method

public Between ( double min, double max )
min double
max double

Between() public method

public Between ( float min, float max )
min float
max float

Between() public method

public Between ( int min, int max )
min int
max int

IsInclusive() public method

public IsInclusive ( bool isInclusive = false ) : IRule
isInclusive bool
return IRule

IsValid() public method

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

WithMessage() public method

public WithMessage ( string message ) : IRule
message string
return IRule