C# Класс Malevich._Default.AbstractedComment

In-memory representation of a comment in a form ready for rendering.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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