Пример #1
0
 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;
 }
Пример #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="IfCommand">If command</param>
 public EndIf(If IfCommand)
     : base()
 {
     this.IfCommand = IfCommand;
 }
Пример #3
0
 public virtual void EndIf(If IfCommand)
 {
     SetCurrentMethod();
     EndIf TempCommand = new EndIf(IfCommand);
     TempCommand.Setup();
     Commands.Add(TempCommand);
 }
Пример #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="IfCommand">If command</param>
 public EndIf(If IfCommand)
     : base()
 {
     this.IfCommand = IfCommand;
 }