C# Class MonoDevelop.VersionControl.TFS.TFSRepository

Inheritance: Microsoft.TeamFoundation.VersionControl.Client.Repository
Exibir arquivo Open project: Indomitable/monodevelop-tfs-addin Class Usage Examples

Private Properties

Property Type Description
AttachWorkspace void
CheckoutFile void
GetConflicts List
GetItemVersionInfo IEnumerable
GetItemsVersionInfo VersionInfo[]
GetLocalRevision Revision
GetLocalVersionStatus VersionStatus
GetServerRevision Revision
GetServerVersionStatus VersionStatus
GetWorkspaceByLocalPath Microsoft.TeamFoundation.VersionControl.Client.Workspace
GetWorkspaceByServerPath Microsoft.TeamFoundation.VersionControl.Client.Workspace
GroupFilesPerWorkspace FilePath>>.List
Refresh void
TFSRepository System

Public Methods

Method Description
GenerateDiff ( FilePath baseLocalPath, VersionInfo versionInfo ) : DiffInfo
GetBaseText ( FilePath localFile ) : string
RequestFileWritePermission ( ) : bool
Resolve ( Conflict conflict, ResolutionType resolutionType ) : void

Protected Methods

Method Description
GetSupportedOperations ( VersionInfo vinfo ) : VersionControlOperation
OnAdd ( FilePath localPaths, bool recurse, IProgressMonitor monitor ) : void
OnCheckout ( FilePath targetLocalPath, Revision rev, bool recurse, IProgressMonitor monitor ) : void
OnCommit ( ChangeSet changeSet, IProgressMonitor monitor ) : void
OnDeleteDirectories ( FilePath localPaths, bool force, IProgressMonitor monitor, bool keepLocal ) : void
OnDeleteFiles ( FilePath localPaths, bool force, IProgressMonitor monitor, bool keepLocal ) : void
OnGetDirectoryVersionInfo ( FilePath localDirectory, bool getRemoteStatus, bool recursive ) : VersionInfo[]
OnGetHistory ( FilePath localFile, Revision since ) : Revision[]
OnGetRevisionChanges ( Revision revision ) : RevisionPath[]
OnGetTextAtRevision ( FilePath repositoryPath, Revision revision ) : string
OnGetVersionInfo ( IEnumerable paths, bool getRemoteStatus ) : IEnumerable
OnIgnore ( FilePath localPath ) : void
OnLock ( IProgressMonitor monitor ) : void
OnMoveDirectory ( FilePath localSrcPath, FilePath localDestPath, bool force, IProgressMonitor monitor ) : void
OnMoveFile ( FilePath localSrcPath, FilePath localDestPath, bool force, IProgressMonitor monitor ) : void
OnPublish ( string serverPath, FilePath localPath, FilePath files, string message, IProgressMonitor monitor ) : Microsoft.TeamFoundation.VersionControl.Client.Repository
OnRevert ( FilePath localPaths, bool recurse, IProgressMonitor monitor ) : void
OnRevertRevision ( FilePath localPath, Revision revision, IProgressMonitor monitor ) : void
OnRevertToRevision ( FilePath localPath, Revision revision, IProgressMonitor monitor ) : void
OnUnignore ( FilePath localPath ) : void
OnUnlock ( IProgressMonitor monitor ) : void
OnUpdate ( FilePath localPaths, bool recurse, IProgressMonitor monitor ) : void

Private Methods

Method Description
AttachWorkspace ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : void
CheckoutFile ( FilePath path ) : void
GetConflicts ( List paths ) : List
GetItemVersionInfo ( ExtendedItem item, bool getRemoteStatus ) : IEnumerable
GetItemsVersionInfo ( List paths, bool getRemoteStatus, RecursionType recursive ) : VersionInfo[]
GetLocalRevision ( ExtendedItem item ) : Revision
GetLocalVersionStatus ( ExtendedItem item ) : VersionStatus
GetServerRevision ( ExtendedItem item ) : Revision
GetServerVersionStatus ( ExtendedItem item ) : VersionStatus
GetWorkspaceByLocalPath ( FilePath path ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
GetWorkspaceByServerPath ( string path ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
GroupFilesPerWorkspace ( IEnumerable filePaths ) : FilePath>>.List
Refresh ( ) : void
TFSRepository ( RepositoryService versionControlService, string rootPath ) : System

Method Details

GenerateDiff() public method

public GenerateDiff ( FilePath baseLocalPath, VersionInfo versionInfo ) : DiffInfo
baseLocalPath FilePath
versionInfo VersionInfo
return DiffInfo

GetBaseText() public method

public GetBaseText ( FilePath localFile ) : string
localFile FilePath
return string

GetSupportedOperations() protected method

protected GetSupportedOperations ( VersionInfo vinfo ) : VersionControlOperation
vinfo VersionInfo
return VersionControlOperation

OnAdd() protected method

protected OnAdd ( FilePath localPaths, bool recurse, IProgressMonitor monitor ) : void
localPaths FilePath
recurse bool
monitor IProgressMonitor
return void

OnCheckout() protected method

protected OnCheckout ( FilePath targetLocalPath, Revision rev, bool recurse, IProgressMonitor monitor ) : void
targetLocalPath FilePath
rev Revision
recurse bool
monitor IProgressMonitor
return void

OnCommit() protected method

protected OnCommit ( ChangeSet changeSet, IProgressMonitor monitor ) : void
changeSet ChangeSet
monitor IProgressMonitor
return void

OnDeleteDirectories() protected method

protected OnDeleteDirectories ( FilePath localPaths, bool force, IProgressMonitor monitor, bool keepLocal ) : void
localPaths FilePath
force bool
monitor IProgressMonitor
keepLocal bool
return void

OnDeleteFiles() protected method

protected OnDeleteFiles ( FilePath localPaths, bool force, IProgressMonitor monitor, bool keepLocal ) : void
localPaths FilePath
force bool
monitor IProgressMonitor
keepLocal bool
return void

OnGetDirectoryVersionInfo() protected method

protected OnGetDirectoryVersionInfo ( FilePath localDirectory, bool getRemoteStatus, bool recursive ) : VersionInfo[]
localDirectory FilePath
getRemoteStatus bool
recursive bool
return VersionInfo[]

OnGetHistory() protected method

protected OnGetHistory ( FilePath localFile, Revision since ) : Revision[]
localFile FilePath
since Revision
return Revision[]

OnGetRevisionChanges() protected method

protected OnGetRevisionChanges ( Revision revision ) : RevisionPath[]
revision Revision
return RevisionPath[]

OnGetTextAtRevision() protected method

protected OnGetTextAtRevision ( FilePath repositoryPath, Revision revision ) : string
repositoryPath FilePath
revision Revision
return string

OnGetVersionInfo() protected method

protected OnGetVersionInfo ( IEnumerable paths, bool getRemoteStatus ) : IEnumerable
paths IEnumerable
getRemoteStatus bool
return IEnumerable

OnIgnore() protected method

protected OnIgnore ( FilePath localPath ) : void
localPath FilePath
return void

OnLock() protected method

protected OnLock ( IProgressMonitor monitor ) : void
monitor IProgressMonitor
return void

OnMoveDirectory() protected method

protected OnMoveDirectory ( FilePath localSrcPath, FilePath localDestPath, bool force, IProgressMonitor monitor ) : void
localSrcPath FilePath
localDestPath FilePath
force bool
monitor IProgressMonitor
return void

OnMoveFile() protected method

protected OnMoveFile ( FilePath localSrcPath, FilePath localDestPath, bool force, IProgressMonitor monitor ) : void
localSrcPath FilePath
localDestPath FilePath
force bool
monitor IProgressMonitor
return void

OnPublish() protected method

protected OnPublish ( string serverPath, FilePath localPath, FilePath files, string message, IProgressMonitor monitor ) : Microsoft.TeamFoundation.VersionControl.Client.Repository
serverPath string
localPath FilePath
files FilePath
message string
monitor IProgressMonitor
return Microsoft.TeamFoundation.VersionControl.Client.Repository

OnRevert() protected method

protected OnRevert ( FilePath localPaths, bool recurse, IProgressMonitor monitor ) : void
localPaths FilePath
recurse bool
monitor IProgressMonitor
return void

OnRevertRevision() protected method

protected OnRevertRevision ( FilePath localPath, Revision revision, IProgressMonitor monitor ) : void
localPath FilePath
revision Revision
monitor IProgressMonitor
return void

OnRevertToRevision() protected method

protected OnRevertToRevision ( FilePath localPath, Revision revision, IProgressMonitor monitor ) : void
localPath FilePath
revision Revision
monitor IProgressMonitor
return void

OnUnignore() protected method

protected OnUnignore ( FilePath localPath ) : void
localPath FilePath
return void

OnUnlock() protected method

protected OnUnlock ( IProgressMonitor monitor ) : void
monitor IProgressMonitor
return void

OnUpdate() protected method

protected OnUpdate ( FilePath localPaths, bool recurse, IProgressMonitor monitor ) : void
localPaths FilePath
recurse bool
monitor IProgressMonitor
return void

RequestFileWritePermission() public method

public RequestFileWritePermission ( ) : bool
return bool

Resolve() public method

public Resolve ( Conflict conflict, ResolutionType resolutionType ) : void
conflict Microsoft.TeamFoundation.VersionControl.Client.Objects.Conflict
resolutionType ResolutionType
return void