Visits a tree of code elements for writing VB code.
Наследование: NArrange.Core.CodeWriteVisitor
Пример #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);
        }
Пример #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);
 }