C# 클래스 NArrange.Core.CodeElements.CommentElement

Comment line implementation.
상속: CodeElement, ICommentElement
파일 보기 프로젝트 열기: MarcStan/NArrange 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
DoClone ( ) : CodeElement

Creates a clone of this instance.

메소드 상세

Accept() 공개 메소드

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.
리턴 void

CommentElement() 공개 메소드

Creates a new comment line.
public CommentElement ( )

CommentElement() 공개 메소드

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

CommentElement() 공개 메소드

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

CommentElement() 공개 메소드

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() 보호된 메소드

Creates a clone of this instance.
protected DoClone ( ) : CodeElement
리턴 CodeElement

ToString() 공개 메소드

Gets the string representation of this object.
public ToString ( ) : string
리턴 string