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

Code element base class for elements with header comments.
상속: CodeElement
파일 보기 프로젝트 열기: MarcStan/NArrange 1 사용 예제들

공개 메소드들

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

메소드 상세

AddHeaderComment() 공개 메소드

Adds a header comment to this element.
public AddHeaderComment ( ICommentElement comment ) : void
comment ICommentElement The comment.
리턴 void

AddHeaderCommentLine() 공개 메소드

Adds a header comment line to this element.
public AddHeaderCommentLine ( string commentLine ) : void
commentLine string The comment line.
리턴 void

AddHeaderCommentLine() 공개 메소드

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

ClearHeaderCommentLines() 공개 메소드

Clears all header comments.
public ClearHeaderCommentLines ( ) : void
리턴 void

Clone() 공개 메소드

Creates a clone of the instance and assigns any state.
public Clone ( ) : object
리턴 object