C# Class SourceControl.ChangeFile

The description of the changed text file.
Mostrar archivo Open project: daptiv/Malevich Class Usage Examples

Public Properties

Property Type Description
Action SourceControlAction
Data string
IsText bool
LastModifiedTime DateTime?
LocalFileName string
OriginalServerFileName string
Revision int
ServerFileName string

Public Methods

Method Description
ChangeFile ( string serverFileName, SourceControlAction action, int revision, bool isText ) : System

Trivial constructor.

Method Details

ChangeFile() public method

Trivial constructor.
public ChangeFile ( string serverFileName, SourceControlAction action, int revision, bool isText ) : System
serverFileName string The file name inside the source control.
action SourceControlAction The action (ADD, EDIT, DELETE).
revision int The revision of the checked out file (0 if add).
isText bool True if this is a text file.
return System

Property Details

Action public_oe property

The action that is taken (ADD, EDIT, DELETE).
public SourceControlAction Action
return SourceControlAction

Data public_oe property

If ADD, the entire file; if EDIT - the diff; if DELETE - null. If !IsText, also null.
public string Data
return string

IsText public_oe property

Whether the file is text.
public bool IsText
return bool

LastModifiedTime public_oe property

When the file was last modified, if this is not a deletion, in UTC.
public DateTime? LastModifiedTime
return DateTime?

LocalFileName public_oe property

The name of the file, local.
public string LocalFileName
return string

OriginalServerFileName public_oe property

The original name of the file, if changed. If not null, should be used to get the base line.
public string OriginalServerFileName
return string

Revision public_oe property

The checked-out revision.
public int Revision
return int

ServerFileName public_oe property

The name of the file, in source control semantics.
public string ServerFileName
return string