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.
Показать файл Открыть проект

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

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