public virtual If If(VariableBase LeftHandSide, Enums.Comparison ComparisonType, VariableBase RightHandSide)
 {
     SetCurrentMethod();
     Utilities.Reflection.Emit.Commands.If TempCommand = new If(ComparisonType, LeftHandSide, RightHandSide);
     TempCommand.Setup();
     Commands.Add(TempCommand);
     return TempCommand;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="IfCommand">If command</param>
 public EndIf(If IfCommand)
     : base()
 {
     this.IfCommand = IfCommand;
 }
 public virtual void EndIf(If IfCommand)
 {
     SetCurrentMethod();
     EndIf TempCommand = new EndIf(IfCommand);
     TempCommand.Setup();
     Commands.Add(TempCommand);
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="IfCommand">If command</param>
 public EndIf(If IfCommand)
     : base()
 {
     this.IfCommand = IfCommand;
 }