Esempio n. 1
0
        public override void Render(ICodeWriter renderer)
        {
            var bracedCode = new BracedCode(statements)
                                 {
                                     SingleLine = SingleLine
                                 };

            bracedCode.Render(renderer);
        }
 public CollectionInitializerExpression()
 {
     bracedCode = new BracedCode();
 }
Esempio n. 3
0
 public NamespaceStatement(string name, ICode code)
 {
     this.name = new NameElement(name);
     bracedCode = new BracedCode(new[] {code});
 }