C# Class Foobricator.Output.When

Encapusulates a condition
Inheritance: IDebugInfoProvider
Afficher le fichier Open project: geoffles/Foobricator Class Usage Examples

Méthodes publiques

Свойство Type Description
Operator Op
RightHandSide object
Source ISource

Méthodes publiques

Méthode Description
True ( ) : bool

Tests the conditions and returns the result

When ( DataReference reference, Op @operator, object rightHandSide ) : System

Initialise a new instance against a reference

When ( ISource source, Op @operator, object rightHandSide ) : System

Initalise a new instance against a source

Private Methods

Méthode Description
DecimalCompare ( decimal value ) : bool
IntCompare ( int value ) : bool
StringCompare ( string value ) : bool

Method Details

True() public méthode

Tests the conditions and returns the result
public True ( ) : bool
Résultat bool

When() public méthode

Initialise a new instance against a reference
public When ( DataReference reference, Op @operator, object rightHandSide ) : System
reference Foobricator.Tools.DataReference
@operator Op
rightHandSide object
Résultat System

When() public méthode

Initalise a new instance against a source
public When ( ISource source, Op @operator, object rightHandSide ) : System
source ISource
@operator Op
rightHandSide object
Résultat System

Property Details

Operator public_oe property

Logical operator. Can be combination.
public Op Operator
Résultat Op

RightHandSide public_oe property

The value to compare Source to
public object RightHandSide
Résultat object

Source public_oe property

The target object to evaluate against
public ISource Source
Résultat ISource