C# Class Yea.Reflection.Emit.Commands.If

If command
Inheritance: Yea.Reflection.Emit.BaseClasses.CommandBase
显示文件 Open project: OxPatient/Rule-Engine Class Usage Examples

Public Methods

Method Description
Else ( ) : void

Defines an else statement

ElseIf ( VariableBase leftHandSide, Comparison comparisonType, VariableBase rightHandSide ) : void

Defines an else if statement

EndIf ( ) : void

Ends the if statement

If ( Comparison comparisonType, VariableBase leftHandSide, VariableBase rightHandSide ) : System.Reflection.Emit

Constructor

Setup ( ) : void

Sets up the command

ToString ( ) : string

Converts the command to the string

Method Details

Else() public method

Defines an else statement
public Else ( ) : void
return void

ElseIf() public method

Defines an else if statement
public ElseIf ( VariableBase leftHandSide, Comparison comparisonType, VariableBase rightHandSide ) : void
leftHandSide Yea.Reflection.Emit.BaseClasses.VariableBase left hand side value
comparisonType Comparison Comparison type
rightHandSide Yea.Reflection.Emit.BaseClasses.VariableBase right hand side value
return void

EndIf() public method

Ends the if statement
public EndIf ( ) : void
return void

If() public method

Constructor
public If ( Comparison comparisonType, VariableBase leftHandSide, VariableBase rightHandSide ) : System.Reflection.Emit
comparisonType Comparison Comparison type
leftHandSide Yea.Reflection.Emit.BaseClasses.VariableBase Left hand side
rightHandSide Yea.Reflection.Emit.BaseClasses.VariableBase Right hand side
return System.Reflection.Emit

Setup() public method

Sets up the command
public Setup ( ) : void
return void

ToString() public method

Converts the command to the string
public ToString ( ) : string
return string