C# 클래스 CommentsExchange.CommentId, Malevich

Parser for the comment id string. Converts Javascript id to something we can search for in the database.
파일 보기 프로젝트 열기: daptiv/Malevich

공개 프로퍼티들

프로퍼티 타입 설명
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