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.
Mostrar archivo Open project: daptiv/Malevich

Public Properties

Property Type Description
Action SourceControlAction
HasTextBody bool
Id int
IsFullText bool
IsRevisionBase bool
IsText bool
Revision int
TimeStamp DateTime?

Public Methods

Method 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 method

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.
return System

Property Details

Action public_oe property

File action.
public SourceControlAction Action
return 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
return bool

Id public_oe property

The id of the version.
public int Id
return int

IsFullText public_oe property

Diff or full text.
public bool IsFullText
return bool

IsRevisionBase public_oe property

Increment or revision base.
public bool IsRevisionBase
return bool

IsText public_oe property

Text or binary.
public bool IsText
return bool

Revision public_oe property

Base source control revision number.
public int Revision
return int

TimeStamp public_oe property

Time stamp.
public DateTime? TimeStamp
return DateTime?