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); }
public CodeWithStatement() { _statements = new CodeNotificationStatementCollection(StatementsChanged); base.Condition = new CodePrimitiveExpression(true); }