C# 클래스 Malevich._Default.AbstractedFileVersion

This class is used to extract partial information from the version history. It is primarily designed to avoid sucking in the actual text of the file.
파일 보기 프로젝트 열기: daptiv/Malevich

공개 프로퍼티들

프로퍼티 타입 설명
Action SourceControlAction
HasTextBody bool
Id int
IsFullText bool
IsRevisionBase bool
IsText bool
Revision int
TimeStamp DateTime?

공개 메소드들

메소드 설명
AbstractedFileVersion ( int id, int action, int revision, System.DateTime timeStamp, bool isText, bool isFullText, bool isRevisionBase, bool hasTextBody ) : System

Trivial constructor.

메소드 상세

AbstractedFileVersion() 공개 메소드

Trivial constructor.
public AbstractedFileVersion ( int id, int action, int revision, System.DateTime timeStamp, bool isText, bool isFullText, bool isRevisionBase, bool hasTextBody ) : System
id int The version id.
action int The action (add, edit, delete).
revision int The base revision of this file. 0 for adds.
timeStamp System.DateTime The time stamp of the file.
isText bool Is this a text file?
isFullText bool Is this a diff or a full text?
isRevisionBase bool Is this a base revision?
hasTextBody bool Is there a body? False by default for branch and integrate.
리턴 System

프로퍼티 상세

Action 공개적으로 프로퍼티

File action.
public SourceControlAction Action
리턴 SourceControlAction

HasTextBody 공개적으로 프로퍼티

Whether the revision has a text body. This is true for add and edit text files, and MAY be try for text branch and integrate.
public bool HasTextBody
리턴 bool

Id 공개적으로 프로퍼티

The id of the version.
public int Id
리턴 int

IsFullText 공개적으로 프로퍼티

Diff or full text.
public bool IsFullText
리턴 bool

IsRevisionBase 공개적으로 프로퍼티

Increment or revision base.
public bool IsRevisionBase
리턴 bool

IsText 공개적으로 프로퍼티

Text or binary.
public bool IsText
리턴 bool

Revision 공개적으로 프로퍼티

Base source control revision number.
public int Revision
리턴 int

TimeStamp 공개적으로 프로퍼티

Time stamp.
public DateTime? TimeStamp
리턴 DateTime?