Ejemplo n.º 1
0
 public CodeConditionStatement(CodeExpression condition,
                               CodeStatement[] trueStatements,
                               CodeStatement[] falseStatements)
 {
     this.condition = condition;
     TrueStatements.AddRange(trueStatements);
     FalseStatements.AddRange(falseStatements);
 }
 public CodeConditionStatement(ILInstruction inline, CodeExpression condition, CodeStatement[] trueStatements, CodeStatement[] falseStatements) : base(inline)
 {
     Condition = condition;
     TrueStatements.AddRange(trueStatements);
     FalseStatements.AddRange(falseStatements);
 }
Ejemplo n.º 3
0
 public CodeIfStatement(CodeExpression condition, IEnumerable <CodeStatement> trueStatements, IEnumerable <CodeStatement> falseStatements)
 {
     Condition = condition;
     TrueStatements.AddRange(trueStatements);
     FalseStatements.AddRange(falseStatements);
 }