C# Класс Microsoft.TeamFoundation.VersionControl.Client.RepositoryService

Наследование: Microsoft.TeamFoundation.Client.Services.TFSCollectionService
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
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

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

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

public CreateWorkspace ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
Результат Microsoft.TeamFoundation.VersionControl.Client.Workspace

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

public DeleteWorkspace ( string workspaceName, string ownerName ) : void
workspaceName string
ownerName string
Результат void

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

public QueryChangeset ( int changeSetId, bool includeChanges = false, bool includeDownloadUrls = false, bool includeSourceRenames = true ) : Changeset
changeSetId int
includeChanges bool
includeDownloadUrls bool
includeSourceRenames bool
Результат Changeset

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

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
Результат List

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

public QueryItems ( ItemSpec itemSpec, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo ) : List
itemSpec ItemSpec
versionSpec VersionSpec
deletedState DeletedState
itemType ItemType
includeDownloadInfo bool
Результат List

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

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
Результат List

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

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
Результат List

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

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
Результат List

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

public QueryItemsExtended ( string workspaceName, string workspaceOwner, List itemSpecs, DeletedState deletedState, ItemType itemType ) : List
workspaceName string
workspaceOwner string
itemSpecs List
deletedState DeletedState
itemType ItemType
Результат List

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

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
Результат List

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

public QueryWorkspace ( string ownerName, string workspaceName ) : Microsoft.TeamFoundation.VersionControl.Client.Workspace
ownerName string
workspaceName string
Результат Microsoft.TeamFoundation.VersionControl.Client.Workspace

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

public QueryWorkspaces ( string ownerName, string computer ) : List
ownerName string
computer string
Результат List

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

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
Результат Microsoft.TeamFoundation.VersionControl.Client.Workspace