Visits a tree of code elements for writing VB code.
Inheritance: NArrange.Core.CodeWriteVisitor
Exemplo n.º 1
0
        /// <summary>
        /// Writes code elements to the specified writer.
        /// </summary>
        /// <param name="codeElements">The collection of elements to write.</param>
        /// <param name="writer">Writer to write to.</param>
        protected override void DoWriteElements(ReadOnlyCollection <ICodeElement> codeElements, TextWriter writer)
        {
            VBWriteVisitor visitor = new VBWriteVisitor(writer, Configuration);

            WriteVisitElements(codeElements, writer, visitor);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Writes code elements to the specified writer.
 /// </summary>
 /// <param name="codeElements">The collection of elements to write.</param>
 /// <param name="writer">Writer to write to.</param>
 protected override void DoWriteElements(ReadOnlyCollection<ICodeElement> codeElements, TextWriter writer)
 {
     VBWriteVisitor visitor = new VBWriteVisitor(writer, Configuration);
     WriteVisitElements(codeElements, writer, visitor);
 }