C# Class 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.
Afficher le fichier Open project: daptiv/Malevich

Méthodes publiques

Свойство Type Description
Action SourceControlAction
HasTextBody bool
Id int
IsFullText bool
IsRevisionBase bool
IsText bool
Revision int
TimeStamp DateTime?

Méthodes publiques

Méthode Description
AbstractedFileVersion ( int id, int action, int revision, System.DateTime timeStamp, bool isText, bool isFullText, bool isRevisionBase, bool hasTextBody ) : System

Trivial constructor.

Method Details

AbstractedFileVersion() public méthode

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.
Résultat System

Property Details

Action public_oe property

File action.
public SourceControlAction Action
Résultat SourceControlAction

HasTextBody public_oe property

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
Résultat bool

Id public_oe property

The id of the version.
public int Id
Résultat int

IsFullText public_oe property

Diff or full text.
public bool IsFullText
Résultat bool

IsRevisionBase public_oe property

Increment or revision base.
public bool IsRevisionBase
Résultat bool

IsText public_oe property

Text or binary.
public bool IsText
Résultat bool

Revision public_oe property

Base source control revision number.
public int Revision
Résultat int

TimeStamp public_oe property

Time stamp.
public DateTime? TimeStamp
Résultat DateTime?