C# Class SpeakFriend.Utilities.ConditionNumericAbstract

Inheritance: Condition, IConditionNumeric
Afficher le fichier Open project: teamaton/speak-lib

Méthodes publiques

Свойство Type Description
MustBeGreaterThanOrEqualToZero bool

Méthodes publiques

Méthode Description
AddToCriteria ( ICriteria criteria ) : void
GetCriterion ( ) : ICriterion
GetValue ( ) : object
IsActive ( ) : bool

Return true if this condition is set and contained in the ConditionList.

IsEqualTo ( ) : bool
IsGreaterThan ( ) : bool
IsLessThanOrEqual ( ) : bool
IsSet ( ) : bool

Returns true if this condition's value is set to anything else than the initial value; else false.

Méthodes protégées

Méthode Description
ConditionNumericAbstract ( ConditionContainer conditions ) : System
ConditionNumericAbstract ( ConditionContainer conditions, string propertyName ) : System
RemoveIfMinusOne ( object value ) : bool
SetQueryEqual ( ) : void
SetQueryGreater ( ) : void
SetQueryLess ( ) : void
SetQueryLessOrEqual ( ) : void

Method Details

AddToCriteria() public méthode

public AddToCriteria ( ICriteria criteria ) : void
criteria ICriteria
Résultat void

ConditionNumericAbstract() protected méthode

protected ConditionNumericAbstract ( ConditionContainer conditions ) : System
conditions ConditionContainer
Résultat System

ConditionNumericAbstract() protected méthode

protected ConditionNumericAbstract ( ConditionContainer conditions, string propertyName ) : System
conditions ConditionContainer
propertyName string
Résultat System

GetCriterion() public méthode

public GetCriterion ( ) : ICriterion
Résultat ICriterion

GetValue() public méthode

public GetValue ( ) : object
Résultat object

IsActive() public méthode

Return true if this condition is set and contained in the ConditionList.
public IsActive ( ) : bool
Résultat bool

IsEqualTo() public méthode

public IsEqualTo ( ) : bool
Résultat bool

IsGreaterThan() public méthode

public IsGreaterThan ( ) : bool
Résultat bool

IsLessThanOrEqual() public méthode

public IsLessThanOrEqual ( ) : bool
Résultat bool

IsSet() public abstract méthode

Returns true if this condition's value is set to anything else than the initial value; else false.
public abstract IsSet ( ) : bool
Résultat bool

RemoveIfMinusOne() protected méthode

protected RemoveIfMinusOne ( object value ) : bool
value object
Résultat bool

SetQueryEqual() protected méthode

protected SetQueryEqual ( ) : void
Résultat void

SetQueryGreater() protected méthode

protected SetQueryGreater ( ) : void
Résultat void

SetQueryLess() protected méthode

protected SetQueryLess ( ) : void
Résultat void

SetQueryLessOrEqual() protected méthode

protected SetQueryLessOrEqual ( ) : void
Résultat void

Property Details

MustBeGreaterThanOrEqualToZero public_oe property

Unset this value if for a less than comparison you do not automatically want to constrain that the value be greater than or equal to zero.
public bool MustBeGreaterThanOrEqualToZero
Résultat bool