Visits a tree of code elements for writing VB code.
Inheritance: NArrange.Core.CodeWriteVisitor
Esempio 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);
        }
Esempio 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);
 }