C# Class NArrange.Core.CodeElements.CommentElement

Comment line implementation.
Inheritance: CodeElement, ICommentElement
Afficher le fichier Open project: MarcStan/NArrange Class Usage Examples

Méthodes publiques

Méthode Description
Accept ( ICodeElementVisitor visitor ) : void

Allows an ICodeElementVisitor to process (or visit) this element.

See the Gang of Four Visitor design pattern.

CommentElement ( )

Creates a new comment line.

CommentElement ( CommentType commentType )

Creates a new comment line.

CommentElement ( string text )

Creates a new comment line.

CommentElement ( string text, CommentType commentType )

Creates a new comment line.

ToString ( ) : string

Gets the string representation of this object.

Méthodes protégées

Méthode Description
DoClone ( ) : CodeElement

Creates a clone of this instance.

Method Details

Accept() public méthode

Allows an ICodeElementVisitor to process (or visit) this element.
See the Gang of Four Visitor design pattern.
public Accept ( ICodeElementVisitor visitor ) : void
visitor ICodeElementVisitor Visitor to accept the code element.
Résultat void

CommentElement() public méthode

Creates a new comment line.
public CommentElement ( )

CommentElement() public méthode

Creates a new comment line.
public CommentElement ( CommentType commentType )
commentType CommentType Whether or not this is an XML comment or block comment

CommentElement() public méthode

Creates a new comment line.
public CommentElement ( string text )
text string Comment text

CommentElement() public méthode

Creates a new comment line.
public CommentElement ( string text, CommentType commentType )
text string Comment text
commentType CommentType Whether or not this is an XML comment or block comment

DoClone() protected méthode

Creates a clone of this instance.
protected DoClone ( ) : CodeElement
Résultat CodeElement

ToString() public méthode

Gets the string representation of this object.
public ToString ( ) : string
Résultat string