C# Класс DXVcs2Git.DXVcs.DXVcsRepository

Наследование: IDXVcsRepository
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CleanUpDirectory void
CreateAccessDict AccessDeniedInfo>.Dictionary
CreateDirectory void
CreateFile void
CreateProject void
DXVcsRepository System
EqualsCheckOutParams bool
EqualsCheckOutParams bool
GetFileName string
GetProjectPath string
GetWorkingFolder string
IsProject bool
MoveFileInternal void
PrepareProjectHistoryRequest ProjectHistoryRequest
ProcessException void
QueueAll void
QueueBlock void
RemoveProjectIfNeeded void
RenameFile void
SafeDeleteFile bool
SafeDeleteProject bool
SelectFileTime System.DateTime
StartTouchThread System.Threading.ManualResetEvent
ValidateService void

Открытые методы

Метод Описание
AddFile ( string vcsFile, byte fileBytes, string comment ) : void
AddProject ( string vcsPath, string comment ) : void
CheckInFile ( string vcsFile, string localFile, string comment ) : void
CheckOutFile ( string vcsFile, string localFile, string comment, bool dontGetLocalCopy = false ) : void
CreateLabel ( string vcsPath, string labelName, string comment ) : void
DeleteFile ( string vcsPath, string comment ) : void
DeleteProject ( string vcsPath, string comment ) : void
Get ( string vcsFile, string fileName, int version ) : void
GetFileData ( string vcsFile ) : FileStateInfo
GetFileHistory ( string vcsFile ) : DXVcs2Git.DXVcs.FileVersionInfo[]
GetFileWorkingPath ( string vcsFile ) : string
GetLatestFileVersion ( string vcsFile, string fileName ) : void
GetLatestReplaceFile ( FileDataLocation fileLocation, System.DateTime fileTime, bool exists, bool checkedOut ) : void
GetLatestVersion ( string vcsPath, string localProjectPath, bool buildTree, object option, bool recursive, bool makeWritable, ReplaceWriteable replaceWriteableState, FileTime fileTimeState, VcsClientBatchState batchState ) : bool
GetLiveLinks ( string vcsPath ) : LinkInfo[]
GetLocalFileModified ( FileStateInfo info, string localPath, string vcsPath, System.DateTime projectDate, FileBaseInfoState &fileState, System.DateTime lastWrite ) : bool
GetProject ( string vcsPath, string localPath, System.DateTime timeStamp ) : void
GetProjectData ( string vcsProject ) : ProjectStateInfo
GetProjectHistory ( string vcsPath, bool recursive, System.DateTime from = null, System.DateTime to = null ) : IList
GetProjects ( string vcsProject ) : ProjectStateInfo[]
GetUsers ( ) : UserInfo[]
HasLiveLinks ( string vcsPath ) : bool
IsCheckedOut ( string vcsFile ) : bool
IsCheckedOutByMe ( string vcsFile ) : bool
IsUnderVss ( string vcsFile ) : bool
MoveFile ( string vcsPath, string newVcsPath, string comment ) : void
UndoCheckout ( string vcsFile, string localFile ) : void

Приватные методы

Метод Описание
CleanUpDirectory ( string localProjectPath ) : void
CreateAccessDict ( AccessDeniedInfo accessList ) : AccessDeniedInfo>.Dictionary
CreateDirectory ( string curLocalFolder ) : void
CreateFile ( string vcsPath, string fileName, byte fileBytes, string comment ) : void
CreateProject ( string vcsPath, string name, string comment ) : void
DXVcsRepository ( string serviceUrl, string user, string password ) : System
EqualsCheckOutParams ( FileStateInfo fsi, FileLocation fl, bool &differentHost ) : bool
EqualsCheckOutParams ( FileStateInfo fsi, string localPath, bool &differentHost ) : bool
GetFileName ( string vcsPath ) : string
GetProjectPath ( string vcsPath ) : string
GetWorkingFolder ( string vcsProject ) : string
IsProject ( string vcsPath ) : bool
MoveFileInternal ( string vcsPath, string newVcsPath, string comment ) : void
PrepareProjectHistoryRequest ( System.DateTime from, System.DateTime to, string findUser, string findComment, HistoryItems whatItems, bool showFileHistory ) : ProjectHistoryRequest
ProcessException ( Queue exceptionQueue ) : void
QueueAll ( string id, int blockIndex, AutoResetEvent getDataEvent, AutoResetEvent decompressEvent, AutoResetEvent saveEvent, string localPath, string path, System.DateTime fileTime, bool doCheckOut, bool setNormal, bool fileExists, Queue exceptionQueue, double step ) : void
QueueBlock ( string id, AutoResetEvent getBlockEvent, BlockInfo info, Queue exceptionQueue ) : void
RemoveProjectIfNeeded ( string oldProjectPath, string comment ) : void
RenameFile ( string vcsPath, string newFileName, string projectPath, string comment ) : void
SafeDeleteFile ( string vcsPath, string fileName, string comment ) : bool
SafeDeleteProject ( string vcsPath, string name, string comment ) : bool
SelectFileTime ( FileStateInfo info, FileTime fileTimeState ) : System.DateTime
StartTouchThread ( string id ) : ManualResetEvent
ValidateService ( ) : void

Описание методов

AddFile() публичный Метод

public AddFile ( string vcsFile, byte fileBytes, string comment ) : void
vcsFile string
fileBytes byte
comment string
Результат void

AddProject() публичный Метод

public AddProject ( string vcsPath, string comment ) : void
vcsPath string
comment string
Результат void

CheckInFile() публичный Метод

public CheckInFile ( string vcsFile, string localFile, string comment ) : void
vcsFile string
localFile string
comment string
Результат void

CheckOutFile() публичный Метод

public CheckOutFile ( string vcsFile, string localFile, string comment, bool dontGetLocalCopy = false ) : void
vcsFile string
localFile string
comment string
dontGetLocalCopy bool
Результат void

CreateLabel() публичный Метод

public CreateLabel ( string vcsPath, string labelName, string comment ) : void
vcsPath string
labelName string
comment string
Результат void

DeleteFile() публичный Метод

public DeleteFile ( string vcsPath, string comment ) : void
vcsPath string
comment string
Результат void

DeleteProject() публичный Метод

public DeleteProject ( string vcsPath, string comment ) : void
vcsPath string
comment string
Результат void

Get() публичный Метод

public Get ( string vcsFile, string fileName, int version ) : void
vcsFile string
fileName string
version int
Результат void

GetFileData() публичный Метод

public GetFileData ( string vcsFile ) : FileStateInfo
vcsFile string
Результат FileStateInfo

GetFileHistory() публичный Метод

public GetFileHistory ( string vcsFile ) : DXVcs2Git.DXVcs.FileVersionInfo[]
vcsFile string
Результат DXVcs2Git.DXVcs.FileVersionInfo[]

GetFileWorkingPath() публичный Метод

public GetFileWorkingPath ( string vcsFile ) : string
vcsFile string
Результат string

GetLatestFileVersion() публичный Метод

public GetLatestFileVersion ( string vcsFile, string fileName ) : void
vcsFile string
fileName string
Результат void

GetLatestReplaceFile() публичный Метод

public GetLatestReplaceFile ( FileDataLocation fileLocation, System.DateTime fileTime, bool exists, bool checkedOut ) : void
fileLocation FileDataLocation
fileTime System.DateTime
exists bool
checkedOut bool
Результат void

GetLatestVersion() публичный Метод

public GetLatestVersion ( string vcsPath, string localProjectPath, bool buildTree, object option, bool recursive, bool makeWritable, ReplaceWriteable replaceWriteableState, FileTime fileTimeState, VcsClientBatchState batchState ) : bool
vcsPath string
localProjectPath string
buildTree bool
option object
recursive bool
makeWritable bool
replaceWriteableState ReplaceWriteable
fileTimeState FileTime
batchState VcsClientBatchState
Результат bool

GetLiveLinks() публичный Метод

public GetLiveLinks ( string vcsPath ) : LinkInfo[]
vcsPath string
Результат LinkInfo[]

GetLocalFileModified() публичный Метод

public GetLocalFileModified ( FileStateInfo info, string localPath, string vcsPath, System.DateTime projectDate, FileBaseInfoState &fileState, System.DateTime lastWrite ) : bool
info FileStateInfo
localPath string
vcsPath string
projectDate System.DateTime
fileState FileBaseInfoState
lastWrite System.DateTime
Результат bool

GetProject() публичный Метод

public GetProject ( string vcsPath, string localPath, System.DateTime timeStamp ) : void
vcsPath string
localPath string
timeStamp System.DateTime
Результат void

GetProjectData() публичный Метод

public GetProjectData ( string vcsProject ) : ProjectStateInfo
vcsProject string
Результат ProjectStateInfo

GetProjectHistory() публичный Метод

public GetProjectHistory ( string vcsPath, bool recursive, System.DateTime from = null, System.DateTime to = null ) : IList
vcsPath string
recursive bool
from System.DateTime
to System.DateTime
Результат IList

GetProjects() публичный Метод

public GetProjects ( string vcsProject ) : ProjectStateInfo[]
vcsProject string
Результат ProjectStateInfo[]

GetUsers() публичный Метод

public GetUsers ( ) : UserInfo[]
Результат UserInfo[]

HasLiveLinks() публичный Метод

public HasLiveLinks ( string vcsPath ) : bool
vcsPath string
Результат bool

IsCheckedOut() публичный Метод

public IsCheckedOut ( string vcsFile ) : bool
vcsFile string
Результат bool

IsCheckedOutByMe() публичный Метод

public IsCheckedOutByMe ( string vcsFile ) : bool
vcsFile string
Результат bool

IsUnderVss() публичный Метод

public IsUnderVss ( string vcsFile ) : bool
vcsFile string
Результат bool

MoveFile() публичный Метод

public MoveFile ( string vcsPath, string newVcsPath, string comment ) : void
vcsPath string
newVcsPath string
comment string
Результат void

UndoCheckout() публичный Метод

public UndoCheckout ( string vcsFile, string localFile ) : void
vcsFile string
localFile string
Результат void