C# Class Malevich._Default.AbstractedComment

In-memory representation of a comment in a form ready for rendering.
Afficher le fichier Open project: daptiv/Malevich

Méthodes publiques

Свойство Type Description
CommentText string
IsReadOnly bool
Line int
LineStamp long
TimeStamp System.DateTime
UserName string
VersionId int

Méthodes publiques

Méthode Description
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.

Method Details

AbstractedComment() public méthode

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.
Résultat System

JavaScriptId() public méthode

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_".
Résultat string

Property Details

CommentText public_oe property

The text of the comment.
public string CommentText
Résultat string

IsReadOnly public_oe property

Whether the comment is read-only. A comment is read-only if it has been submitted.
public bool IsReadOnly
Résultat bool

Line public_oe property

Comment's line.
public int Line
Résultat int

LineStamp public_oe property

Ordering within the line.
public long LineStamp
Résultat long

TimeStamp public_oe property

Time when comment was made.
public DateTime,System TimeStamp
Résultat System.DateTime

UserName public_oe property

Who has made this comment.
public string UserName
Résultat string

VersionId public_oe property

Version id of the file.
public int VersionId
Résultat int