C# Class NArrange.Core.CodeWriter

Base class for writing code elements to a file.
Inheritance: ICodeElementWriter
Afficher le fichier Open project: MarcStan/NArrange

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
DoWriteElements ( ReadOnlyCollection codeElements, TextWriter writer ) : void

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

Method Details

DoWriteElements() protected abstract méthode

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.
Résultat void

Write() public méthode

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
Résultat void

WriteVisitElements() public static méthode

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.
Résultat void