C# Class Microsoft.TeamFoundation.VersionControl.Client.RepositoryService

Inheritance: Microsoft.TeamFoundation.Client.Services.TFSCollectionService
Show file Open project: Indomitable/monodevelop-tfs-addin Class Usage Examples

Public Methods

Method Description
CreateWorkspace ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
DeleteWorkspace ( string workspaceName, string ownerName ) : void
QueryChangeset ( int changeSetId, bool includeChanges = false, bool includeDownloadUrls = false, bool includeSourceRenames = true ) : Changeset
QueryHistory ( ItemSpec item, VersionSpec versionItem, VersionSpec versionFrom, VersionSpec versionTo, int maxCount = short.MaxValue ) : List
QueryItems ( ItemSpec itemSpec, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo ) : List
QueryItems ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, ItemSpec itemSpec, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo ) : List
QueryItems ( string workspaceName, string workspaceOwner, ItemSpec itemSpecs, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo ) : List
QueryItemsExtended ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, ItemSpec itemSpec, DeletedState deletedState, ItemType itemType ) : List
QueryItemsExtended ( string workspaceName, string workspaceOwner, List itemSpecs, DeletedState deletedState, ItemType itemType ) : List
QueryPendingSets ( string localWorkspaceName, string localWorkspaceOwner, string queryWorkspaceName, string ownerName, ItemSpec itemSpecs, bool generateDownloadUrls ) : List
QueryWorkspace ( string ownerName, string workspaceName ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
QueryWorkspaces ( string ownerName, string computer ) : List
UpdateWorkspace ( string oldWorkspaceName, string ownerName, Microsoft.TeamFoundation.VersionControl.Client.Workspace newWorkspace ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace

Private Methods

Method Description
CheckIn ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, List changes, string comment, WorkItemCheckinAction>.Dictionary workItems ) : CheckInResult
ConflictExtractor ( System.Xml.Linq.XElement element, Microsoft.TeamFoundation.VersionControl.Client.Workspace wsp ) : List
FailuresExtractor ( System.Xml.Linq.XElement response ) : List
Get ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, List requests, bool force, bool noGet ) : List
GetOperationExtractor ( System.Xml.Linq.XElement element ) : List
PendChanges ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, List changeRequest, List &failures ) : List
QueryConflicts ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, List items ) : List
QueryPendingChangesForWorkspace ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, List itemSpecs, bool includeDownloadInfo ) : List
Resolve ( Conflict conflict, ResolutionType resolutionType ) : ResolveResult
UndoPendChanges ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, List itemSpecs ) : List
UpdateLocalVersion ( UpdateLocalVersionQueue updateLocalVersionQueue ) : void
UploadFile ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, PendingChange change ) : void
UploadFile ( string workspaceName, string ownerName, PendingChange change ) : void

Method Details

CreateWorkspace() public method

public CreateWorkspace ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
return Microsoft.TeamFoundation.VersionControl.Client.Workspace

DeleteWorkspace() public method

public DeleteWorkspace ( string workspaceName, string ownerName ) : void
workspaceName string
ownerName string
return void

QueryChangeset() public method

public QueryChangeset ( int changeSetId, bool includeChanges = false, bool includeDownloadUrls = false, bool includeSourceRenames = true ) : Changeset
changeSetId int
includeChanges bool
includeDownloadUrls bool
includeSourceRenames bool
return Changeset

QueryHistory() public method

public QueryHistory ( ItemSpec item, VersionSpec versionItem, VersionSpec versionFrom, VersionSpec versionTo, int maxCount = short.MaxValue ) : List
item ItemSpec
versionItem VersionSpec
versionFrom VersionSpec
versionTo VersionSpec
maxCount int
return List

QueryItems() public method

public QueryItems ( ItemSpec itemSpec, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo ) : List
itemSpec ItemSpec
versionSpec VersionSpec
deletedState DeletedState
itemType ItemType
includeDownloadInfo bool
return List

QueryItems() public method

public QueryItems ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, ItemSpec itemSpec, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo ) : List
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
itemSpec ItemSpec
versionSpec VersionSpec
deletedState DeletedState
itemType ItemType
includeDownloadInfo bool
return List

QueryItems() public method

public QueryItems ( string workspaceName, string workspaceOwner, ItemSpec itemSpecs, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo ) : List
workspaceName string
workspaceOwner string
itemSpecs ItemSpec
versionSpec VersionSpec
deletedState DeletedState
itemType ItemType
includeDownloadInfo bool
return List

QueryItemsExtended() public method

public QueryItemsExtended ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, ItemSpec itemSpec, DeletedState deletedState, ItemType itemType ) : List
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
itemSpec ItemSpec
deletedState DeletedState
itemType ItemType
return List

QueryItemsExtended() public method

public QueryItemsExtended ( string workspaceName, string workspaceOwner, List itemSpecs, DeletedState deletedState, ItemType itemType ) : List
workspaceName string
workspaceOwner string
itemSpecs List
deletedState DeletedState
itemType ItemType
return List

QueryPendingSets() public method

public QueryPendingSets ( string localWorkspaceName, string localWorkspaceOwner, string queryWorkspaceName, string ownerName, ItemSpec itemSpecs, bool generateDownloadUrls ) : List
localWorkspaceName string
localWorkspaceOwner string
queryWorkspaceName string
ownerName string
itemSpecs ItemSpec
generateDownloadUrls bool
return List

QueryWorkspace() public method

public QueryWorkspace ( string ownerName, string workspaceName ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
ownerName string
workspaceName string
return Microsoft.TeamFoundation.VersionControl.Client.Workspace

QueryWorkspaces() public method

public QueryWorkspaces ( string ownerName, string computer ) : List
ownerName string
computer string
return List

UpdateWorkspace() public method

public UpdateWorkspace ( string oldWorkspaceName, string ownerName, Microsoft.TeamFoundation.VersionControl.Client.Workspace newWorkspace ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
oldWorkspaceName string
ownerName string
newWorkspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
return Microsoft.TeamFoundation.VersionControl.Client.Workspace