C# Class NArrange.Core.CodeElements.CommentedElement

Code element base class for elements with header comments.
Inheritance: CodeElement
Afficher le fichier Open project: MarcStan/NArrange Class Usage Examples

Méthodes publiques

Méthode Description
AddHeaderComment ( ICommentElement comment ) : void

Adds a header comment to this element.

AddHeaderCommentLine ( string commentLine ) : void

Adds a header comment line to this element.

AddHeaderCommentLine ( string commentLine, bool xmlComment ) : void

Adds a header comment line to this element.

ClearHeaderCommentLines ( ) : void

Clears all header comments.

Clone ( ) : object

Creates a clone of the instance and assigns any state.

Method Details

AddHeaderComment() public méthode

Adds a header comment to this element.
public AddHeaderComment ( ICommentElement comment ) : void
comment ICommentElement The comment.
Résultat void

AddHeaderCommentLine() public méthode

Adds a header comment line to this element.
public AddHeaderCommentLine ( string commentLine ) : void
commentLine string The comment line.
Résultat void

AddHeaderCommentLine() public méthode

Adds a header comment line to this element.
public AddHeaderCommentLine ( string commentLine, bool xmlComment ) : void
commentLine string Comment line text.
xmlComment bool Whether or not the comment is an XML comment.
Résultat void

ClearHeaderCommentLines() public méthode

Clears all header comments.
public ClearHeaderCommentLines ( ) : void
Résultat void

Clone() public méthode

Creates a clone of the instance and assigns any state.
public Clone ( ) : object
Résultat object