Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="WhileCommand">While command</param>
 public EndWhile(While WhileCommand)
     : base()
 {
     this.WhileCommand = WhileCommand;
 }
 public virtual void EndWhile(While WhileCommand)
 {
     SetCurrentMethod();
     EndWhile TempCommand = new EndWhile(WhileCommand);
     TempCommand.Setup();
     Commands.Add(TempCommand);
 }
 public virtual While While(VariableBase LeftHandSide, Enums.Comparison ComparisonType, VariableBase RightHandSide)
 {
     SetCurrentMethod();
     While TempCommand = new While(ComparisonType, LeftHandSide, RightHandSide);
     TempCommand.Setup();
     Commands.Add(TempCommand);
     return TempCommand;
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="WhileCommand">While command</param>
 public EndWhile(While WhileCommand)
     : base()
 {
     this.WhileCommand = WhileCommand;
 }