C# Class AdaptiveTriggerLibrary.ConditionModifiers.ComparableModifiers.GreaterThanEqualToModifier

A modifier where the value must be greatert than or equal to the condition.
Inheritance: ModifierBase, IComparableModifier
Datei anzeigen Open project: Herdo/AdaptiveTriggerLibrary

Public Methods

Method Description
IsConditionMet ( object condition, object value ) : bool

Checks if the value meets the specified condition.

Private Methods

Method Description
IsConditionMet ( IComparable condition, IComparable value ) : bool

Method Details

IsConditionMet() public method

Checks if the value meets the specified condition.
The underlying type of doesn't match expected condition type, /// or the underlying type of doesn't match the expected value type. Either or cannot be casted to the specified underlying type.
public IsConditionMet ( object condition, object value ) : bool
condition object The condition.
value object The actual value.
return bool