C# Class JustAProgrammer.TeamPilgrim.VisualStudio.Providers.TeamPilgrimServiceModelProvider

Inheritance: ITeamPilgrimServiceModelProvider
Datei anzeigen Open project: StanleyGoldman/TeamPilgrim

Public Methods

Method Description
ClearLastException ( ) : void
TeamPilgrimServiceModelProvider ( ) : System
TryAddNewQueryFolder ( QueryFolder &childFolder, TfsTeamProjectCollection tfsTeamProjectCollection, Microsoft.TeamFoundation.WorkItemTracking.Client.Project teamProject, System.Guid parentFolderId ) : bool
TryCheckin ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Microsoft.TeamFoundation.VersionControl.Client.PendingChange changes, string comment, CheckinNote checkinNote = null, WorkItemCheckinInfo workItemChanges = null, PolicyOverrideInfo policyOverride = null ) : bool
TryCloneQueryDefinition ( IBuildDefinition &buildDefinition, TfsTeamProjectCollection collection, Microsoft.TeamFoundation.WorkItemTracking.Client.Project project, IBuildDefinition definition ) : bool
TryDeleteBuildDefinition ( IBuildDefinition definition ) : bool
TryDeleteQueryItem ( bool &result, TfsTeamProjectCollection teamProjectCollection, Microsoft.TeamFoundation.WorkItemTracking.Client.Project teamProject, System.Guid queryItemId ) : bool
TryDeleteShelveset ( TfsTeamProjectCollection tfsTeamProjectCollection, string shelvesetName, string shelvesetOwner ) : bool
TryEvaluateCheckin ( CheckinEvaluationResult &checkinEvaluationResult, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Microsoft.TeamFoundation.VersionControl.Client.PendingChange changes, string comment, CheckinNote checkinNote = null, WorkItemCheckinInfo workItemChanges = null ) : bool
TryGetAllConflicts ( Conflict &conflicts, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : bool
TryGetBuildDefinitionsByProjectName ( IBuildDefinition &buildDefinitions, TfsTeamProjectCollection collection, string projectName ) : bool
TryGetCollection ( TfsTeamProjectCollection &collection, Uri tpcAddress ) : bool
TryGetCollections ( TfsTeamProjectCollection &collections ) : bool
TryGetLocalWorkspaceInfos ( Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo &workspaceInfos, System.Guid projectCollectionId = null ) : bool
TryGetOneHopQueryDefinitionWorkItemLinkInfo ( WorkItemLinkInfo &workItemLinkInfos, TfsTeamProjectCollection tfsTeamProjectCollection, QueryDefinition queryDefinition, string projectName ) : bool
TryGetPendingChanges ( Microsoft.TeamFoundation.VersionControl.Client.PendingChange &pendingChanges, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : bool
TryGetPendingChanges ( Microsoft.TeamFoundation.VersionControl.Client.PendingChange &pendingChanges, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, string items ) : bool
TryGetProjects ( Microsoft.TeamFoundation.WorkItemTracking.Client.Project &projects, TfsTeamProjectCollection tfsTeamProjectCollection ) : bool
TryGetProjects ( Microsoft.TeamFoundation.WorkItemTracking.Client.Project &projects, Uri tpcAddress ) : bool
TryGetQueryDefinitionWorkItemCollection ( WorkItemCollection &workItemCollection, TfsTeamProjectCollection tfsTeamProjectCollection, QueryDefinition queryDefinition, string projectName ) : bool
TryGetWorkspace ( Microsoft.TeamFoundation.VersionControl.Client.Workspace &workspace, Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo workspaceInfo, TfsTeamProjectCollection tfsTeamProjectCollection ) : bool
TryQueryShelvesets ( TfsTeamProjectCollection tfsTeamProjectCollection, Shelveset &shelvesets, string shelvesetName = null, string shelvesetOwner = null ) : bool
TryShelve ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Shelveset shelveset, Microsoft.TeamFoundation.VersionControl.Client.PendingChange pendingChanges, ShelvingOptions shelvingOptions ) : bool
TryWorkspaceQueryShelvedChanges ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, PendingSet &pendingSets, string shelvesetName, string shelvesetOwner, Microsoft.TeamFoundation.VersionControl.Client.ItemSpec itemSpecs ) : bool
TryWorkspaceUnshelve ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Shelveset &shelveset, string shelvesetName, string shelvesetOwner, Microsoft.TeamFoundation.VersionControl.Client.ItemSpec items = null ) : bool

Method Details

ClearLastException() public method

public ClearLastException ( ) : void
return void

TeamPilgrimServiceModelProvider() public method

public TeamPilgrimServiceModelProvider ( ) : System
return System

TryAddNewQueryFolder() public method

public TryAddNewQueryFolder ( QueryFolder &childFolder, TfsTeamProjectCollection tfsTeamProjectCollection, Microsoft.TeamFoundation.WorkItemTracking.Client.Project teamProject, System.Guid parentFolderId ) : bool
childFolder QueryFolder
tfsTeamProjectCollection TfsTeamProjectCollection
teamProject Microsoft.TeamFoundation.WorkItemTracking.Client.Project
parentFolderId System.Guid
return bool

TryCheckin() public method

public TryCheckin ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Microsoft.TeamFoundation.VersionControl.Client.PendingChange changes, string comment, CheckinNote checkinNote = null, WorkItemCheckinInfo workItemChanges = null, PolicyOverrideInfo policyOverride = null ) : bool
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
changes Microsoft.TeamFoundation.VersionControl.Client.PendingChange
comment string
checkinNote Microsoft.TeamFoundation.VersionControl.Client.CheckinNote
workItemChanges WorkItemCheckinInfo
policyOverride PolicyOverrideInfo
return bool

TryCloneQueryDefinition() public method

public TryCloneQueryDefinition ( IBuildDefinition &buildDefinition, TfsTeamProjectCollection collection, Microsoft.TeamFoundation.WorkItemTracking.Client.Project project, IBuildDefinition definition ) : bool
buildDefinition IBuildDefinition
collection TfsTeamProjectCollection
project Microsoft.TeamFoundation.WorkItemTracking.Client.Project
definition IBuildDefinition
return bool

TryDeleteBuildDefinition() public method

public TryDeleteBuildDefinition ( IBuildDefinition definition ) : bool
definition IBuildDefinition
return bool

TryDeleteQueryItem() public method

public TryDeleteQueryItem ( bool &result, TfsTeamProjectCollection teamProjectCollection, Microsoft.TeamFoundation.WorkItemTracking.Client.Project teamProject, System.Guid queryItemId ) : bool
result bool
teamProjectCollection TfsTeamProjectCollection
teamProject Microsoft.TeamFoundation.WorkItemTracking.Client.Project
queryItemId System.Guid
return bool

TryDeleteShelveset() public method

public TryDeleteShelveset ( TfsTeamProjectCollection tfsTeamProjectCollection, string shelvesetName, string shelvesetOwner ) : bool
tfsTeamProjectCollection TfsTeamProjectCollection
shelvesetName string
shelvesetOwner string
return bool

TryEvaluateCheckin() public method

public TryEvaluateCheckin ( CheckinEvaluationResult &checkinEvaluationResult, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Microsoft.TeamFoundation.VersionControl.Client.PendingChange changes, string comment, CheckinNote checkinNote = null, WorkItemCheckinInfo workItemChanges = null ) : bool
checkinEvaluationResult CheckinEvaluationResult
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
changes Microsoft.TeamFoundation.VersionControl.Client.PendingChange
comment string
checkinNote Microsoft.TeamFoundation.VersionControl.Client.CheckinNote
workItemChanges WorkItemCheckinInfo
return bool

TryGetAllConflicts() public method

public TryGetAllConflicts ( Conflict &conflicts, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : bool
conflicts Conflict
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
return bool

TryGetBuildDefinitionsByProjectName() public method

public TryGetBuildDefinitionsByProjectName ( IBuildDefinition &buildDefinitions, TfsTeamProjectCollection collection, string projectName ) : bool
buildDefinitions IBuildDefinition
collection TfsTeamProjectCollection
projectName string
return bool

TryGetCollection() public method

public TryGetCollection ( TfsTeamProjectCollection &collection, Uri tpcAddress ) : bool
collection TfsTeamProjectCollection
tpcAddress System.Uri
return bool

TryGetCollections() public method

public TryGetCollections ( TfsTeamProjectCollection &collections ) : bool
collections TfsTeamProjectCollection
return bool

TryGetLocalWorkspaceInfos() public method

public TryGetLocalWorkspaceInfos ( Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo &workspaceInfos, System.Guid projectCollectionId = null ) : bool
workspaceInfos Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
projectCollectionId System.Guid
return bool

TryGetOneHopQueryDefinitionWorkItemLinkInfo() public method

public TryGetOneHopQueryDefinitionWorkItemLinkInfo ( WorkItemLinkInfo &workItemLinkInfos, TfsTeamProjectCollection tfsTeamProjectCollection, QueryDefinition queryDefinition, string projectName ) : bool
workItemLinkInfos WorkItemLinkInfo
tfsTeamProjectCollection TfsTeamProjectCollection
queryDefinition QueryDefinition
projectName string
return bool

TryGetPendingChanges() public method

public TryGetPendingChanges ( Microsoft.TeamFoundation.VersionControl.Client.PendingChange &pendingChanges, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : bool
pendingChanges Microsoft.TeamFoundation.VersionControl.Client.PendingChange
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
return bool

TryGetPendingChanges() public method

public TryGetPendingChanges ( Microsoft.TeamFoundation.VersionControl.Client.PendingChange &pendingChanges, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, string items ) : bool
pendingChanges Microsoft.TeamFoundation.VersionControl.Client.PendingChange
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
items string
return bool

TryGetProjects() public method

public TryGetProjects ( Microsoft.TeamFoundation.WorkItemTracking.Client.Project &projects, TfsTeamProjectCollection tfsTeamProjectCollection ) : bool
projects Microsoft.TeamFoundation.WorkItemTracking.Client.Project
tfsTeamProjectCollection TfsTeamProjectCollection
return bool

TryGetProjects() public method

public TryGetProjects ( Microsoft.TeamFoundation.WorkItemTracking.Client.Project &projects, Uri tpcAddress ) : bool
projects Microsoft.TeamFoundation.WorkItemTracking.Client.Project
tpcAddress System.Uri
return bool

TryGetQueryDefinitionWorkItemCollection() public method

public TryGetQueryDefinitionWorkItemCollection ( WorkItemCollection &workItemCollection, TfsTeamProjectCollection tfsTeamProjectCollection, QueryDefinition queryDefinition, string projectName ) : bool
workItemCollection WorkItemCollection
tfsTeamProjectCollection TfsTeamProjectCollection
queryDefinition QueryDefinition
projectName string
return bool

TryGetWorkspace() public method

public TryGetWorkspace ( Microsoft.TeamFoundation.VersionControl.Client.Workspace &workspace, Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo workspaceInfo, TfsTeamProjectCollection tfsTeamProjectCollection ) : bool
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
workspaceInfo Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
tfsTeamProjectCollection TfsTeamProjectCollection
return bool

TryQueryShelvesets() public method

public TryQueryShelvesets ( TfsTeamProjectCollection tfsTeamProjectCollection, Shelveset &shelvesets, string shelvesetName = null, string shelvesetOwner = null ) : bool
tfsTeamProjectCollection TfsTeamProjectCollection
shelvesets Shelveset
shelvesetName string
shelvesetOwner string
return bool

TryShelve() public method

public TryShelve ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Shelveset shelveset, Microsoft.TeamFoundation.VersionControl.Client.PendingChange pendingChanges, ShelvingOptions shelvingOptions ) : bool
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
shelveset Shelveset
pendingChanges Microsoft.TeamFoundation.VersionControl.Client.PendingChange
shelvingOptions ShelvingOptions
return bool

TryWorkspaceQueryShelvedChanges() public method

public TryWorkspaceQueryShelvedChanges ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, PendingSet &pendingSets, string shelvesetName, string shelvesetOwner, Microsoft.TeamFoundation.VersionControl.Client.ItemSpec itemSpecs ) : bool
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
pendingSets PendingSet
shelvesetName string
shelvesetOwner string
itemSpecs Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
return bool

TryWorkspaceUnshelve() public method

public TryWorkspaceUnshelve ( Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Shelveset &shelveset, string shelvesetName, string shelvesetOwner, Microsoft.TeamFoundation.VersionControl.Client.ItemSpec items = null ) : bool
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
shelveset Shelveset
shelvesetName string
shelvesetOwner string
items Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
return bool