C# Class Habanero.Testability.ValidValueGeneratorDecimal

Inheritance: ValidValueGenerator, IValidValueGeneratorNumeric
Mostra file Open project: Chillisoft/habanero.testability Class Usage Examples

Public Methods

Method Description
GenerateValidValue ( ) : object
GenerateValidValueGreaterThan ( object minValue ) : object
GenerateValidValueLessThan ( object maxValue ) : object
ValidValueGeneratorDecimal ( IPropDef propDef ) : Habanero.Base

Private Methods

Method Description
GenerateValidValue ( decimal overridingMinValue, decimal overridingMaxValue ) : decimal
GetMaxValue ( IPropRuleComparable propRule, decimal overridingMaxValue ) : decimal
GetMinValue ( IPropRuleComparable propRule, decimal overridingMinValue ) : decimal

Method Details

GenerateValidValue() public method

public GenerateValidValue ( ) : object
return object

GenerateValidValueGreaterThan() public method

public GenerateValidValueGreaterThan ( object minValue ) : object
minValue object
return object

GenerateValidValueLessThan() public method

public GenerateValidValueLessThan ( object maxValue ) : object
maxValue object
return object

ValidValueGeneratorDecimal() public method

public ValidValueGeneratorDecimal ( IPropDef propDef ) : Habanero.Base
propDef IPropDef
return Habanero.Base