C# 클래스 NArrange.Core.CodeWriter

Base class for writing code elements to a file.
상속: ICodeElementWriter
파일 보기 프로젝트 열기: MarcStan/NArrange

공개 메소드들

메소드 설명
Write ( ReadOnlyCollection codeElements, TextWriter writer ) : void

Writes code elements to the specified text writer.

WriteVisitElements ( ReadOnlyCollection codeElements, TextWriter writer, ICodeElementVisitor visitor ) : void

Writes each element using the specified visitor.

보호된 메소드들

메소드 설명
DoWriteElements ( ReadOnlyCollection codeElements, TextWriter writer ) : void

Template method for inheritors to write a collection of code elements to the specified text writer.

메소드 상세

DoWriteElements() 보호된 추상적인 메소드

Template method for inheritors to write a collection of code elements to the specified text writer.
protected abstract DoWriteElements ( ReadOnlyCollection codeElements, TextWriter writer ) : void
codeElements ReadOnlyCollection The code elements.
writer System.IO.TextWriter The writer.
리턴 void

Write() 공개 메소드

Writes code elements to the specified text writer.
public Write ( ReadOnlyCollection codeElements, TextWriter writer ) : void
codeElements ReadOnlyCollection Read only collection of elements
writer System.IO.TextWriter Code file writer
리턴 void

WriteVisitElements() 공개 정적인 메소드

Writes each element using the specified visitor.
public static WriteVisitElements ( ReadOnlyCollection codeElements, TextWriter writer, ICodeElementVisitor visitor ) : void
codeElements ReadOnlyCollection The code elements.
writer System.IO.TextWriter The writer.
visitor ICodeElementVisitor The visitor.
리턴 void