C# 클래스 SourceControl.ChangeFile

The description of the changed text file.
파일 보기 프로젝트 열기: daptiv/Malevich 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Action SourceControlAction
Data string
IsText bool
LastModifiedTime DateTime?
LocalFileName string
OriginalServerFileName string
Revision int
ServerFileName string

공개 메소드들

메소드 설명
ChangeFile ( string serverFileName, SourceControlAction action, int revision, bool isText ) : System

Trivial constructor.

메소드 상세

ChangeFile() 공개 메소드

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.
리턴 System

프로퍼티 상세

Action 공개적으로 프로퍼티

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

Data 공개적으로 프로퍼티

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

IsText 공개적으로 프로퍼티

Whether the file is text.
public bool IsText
리턴 bool

LastModifiedTime 공개적으로 프로퍼티

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

LocalFileName 공개적으로 프로퍼티

The name of the file, local.
public string LocalFileName
리턴 string

OriginalServerFileName 공개적으로 프로퍼티

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

Revision 공개적으로 프로퍼티

The checked-out revision.
public int Revision
리턴 int

ServerFileName 공개적으로 프로퍼티

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