C# Класс CommentsExchange.CommentId, Malevich

Parser for the comment id string. Converts Javascript id to something we can search for in the database.
Показать файл Открыть проект

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

Свойство Тип Описание
FileVersionId int
Line int
LineStamp long

Открытые методы

Метод Описание
CommentId ( string commentId ) : System

Trivial constructor. Parses the string, sets up the structure. If the format of the input string is in error, it simply leaves the structure in a coherent form, but which will never be found in the database.

HasParsed ( ) : bool

Returns true if the structure has parsed the Javascript comment id correctly.

Описание методов

CommentId() публичный Метод

Trivial constructor. Parses the string, sets up the structure. If the format of the input string is in error, it simply leaves the structure in a coherent form, but which will never be found in the database.
public CommentId ( string commentId ) : System
commentId string
Результат System

HasParsed() публичный Метод

Returns true if the structure has parsed the Javascript comment id correctly.
public HasParsed ( ) : bool
Результат bool

Описание свойств

FileVersionId публичное свойство

File version.
public int FileVersionId
Результат int

Line публичное свойство

Line number.
public int Line
Результат int

LineStamp публичное свойство

Comment's timestamp.
public long LineStamp
Результат long