コード例 #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;
 }