Visits a tree of code elements for writing VB code.
Inheritance: 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
ファイル: VBWriter.cs プロジェクト: MarcStan/NArrange
 /// <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);
 }