C# 클래스 Malevich._Default.AbstractedComment

In-memory representation of a comment in a form ready for rendering.
파일 보기 프로젝트 열기: daptiv/Malevich

공개 프로퍼티들

프로퍼티 타입 설명
CommentText string
IsReadOnly bool
Line int
LineStamp long
TimeStamp System.DateTime
UserName string
VersionId int

공개 메소드들

메소드 설명
AbstractedComment ( int versionId, int line, long lineStamp, string userName, System.DateTime timeStamp, bool isReadOnly, string commentText ) : System

Trivial constructor. Sets the fields.

JavaScriptId ( string prefix ) : string

Comment Id to be used in HTML.

메소드 상세

AbstractedComment() 공개 메소드

Trivial constructor. Sets the fields.
public AbstractedComment ( int versionId, int line, long lineStamp, string userName, System.DateTime timeStamp, bool isReadOnly, string commentText ) : System
versionId int File version id.
line int Line.
lineStamp long Line stamp.
userName string User name of the commenter.
timeStamp System.DateTime Time when comment was made.
isReadOnly bool Whether the comment is read-only.
commentText string Text of the comment.
리턴 System

JavaScriptId() 공개 메소드

Comment Id to be used in HTML.
public JavaScriptId ( string prefix ) : string
prefix string String to prefix the comment with - should be "base_" or "diff_".
리턴 string

프로퍼티 상세

CommentText 공개적으로 프로퍼티

The text of the comment.
public string CommentText
리턴 string

IsReadOnly 공개적으로 프로퍼티

Whether the comment is read-only. A comment is read-only if it has been submitted.
public bool IsReadOnly
리턴 bool

Line 공개적으로 프로퍼티

Comment's line.
public int Line
리턴 int

LineStamp 공개적으로 프로퍼티

Ordering within the line.
public long LineStamp
리턴 long

TimeStamp 공개적으로 프로퍼티

Time when comment was made.
public DateTime,System TimeStamp
리턴 System.DateTime

UserName 공개적으로 프로퍼티

Who has made this comment.
public string UserName
리턴 string

VersionId 공개적으로 프로퍼티

Version id of the file.
public int VersionId
리턴 int