コード例 #1
0
 public CodeWithStatement(CodeExpression target, params CodeStatement[] statements)
 {
     _target = target;
     _statements = new CodeNotificationStatementCollection(StatementsChanged, statements);
     base.TrueStatements.AddRange(statements);
     base.Condition = new CodePrimitiveExpression(true);
     SetAllTargets(_statements, TargetPlaceholder, _target);
 }
コード例 #2
0
 public CodeWithStatement()
 {
     _statements = new CodeNotificationStatementCollection(StatementsChanged);
     base.Condition = new CodePrimitiveExpression(true);
 }