C# Class TfsApi.Administration.Workers.IterationManager

The Iteration manager.
Inheritance: IIterationManager, IDisposable
显示文件 Open project: Gordon-Beeming/Tfs-Api Class Usage Examples

Public Methods

Method Description
AddNewIteration ( string newIterationName, System.DateTime startDate = null, System.DateTime finishDate = null, List enableforTfsTeams = null, bool refreshCache = false ) : void
CheckIfPathAlreadyExists ( string iterationPath ) : bool
DeleteIteration ( TfsApi.Administration.Dto.ProjectIteration projectIteration ) : void
DeleteIterationUsingIterationPath ( string iterationPath ) : void
DisableIterationPath ( ITfsTeam tfsTeam, string iterationName ) : void
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EnableIterationPath ( ITfsTeam tfsTeam, string iterationName, bool includeChildren ) : void
FindProjectIteration ( string fullIterationPath ) : TfsApi.Administration.Dto.ProjectIteration
FlattenIterations ( List list ) : List
IsIterationPathEnabled ( ITfsTeam tfsTeam, string iterationPath ) : bool
IterationManager ( TfsApi.Administration.Dto.ProjectDetail projectDetail, ITfsCredentials tfsCredentials = null ) : System

Initializes a new instance of the IterationManager class.

ListIterations ( ) : List

The list Iterations.

Private Methods

Method Description
AddIteration ( string newIterationName ) : NodeInfo
AddIterationToPlanningIterations ( ITfsTeam tfsTeam, string iterationName ) : void
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

FormatIterationName ( string newIterationName ) : string
GetFullPath ( TfsApi.Administration.Dto.ProjectIteration parentItem, string name ) : string
GetIterationXml ( ) : XmlElement
GetNodeID ( string xml ) : string
LoadIterations ( XmlNode parentNode, TfsApi.Administration.Dto.ProjectIteration parentItem = null ) : List
SetIterationDates ( System.DateTime startDate, System.DateTime finishDate, NodeInfo retVal ) : void

Method Details

AddNewIteration() public method

public AddNewIteration ( string newIterationName, System.DateTime startDate = null, System.DateTime finishDate = null, List enableforTfsTeams = null, bool refreshCache = false ) : void
newIterationName string
startDate System.DateTime
finishDate System.DateTime
enableforTfsTeams List
refreshCache bool
return void

CheckIfPathAlreadyExists() public method

public CheckIfPathAlreadyExists ( string iterationPath ) : bool
iterationPath string
return bool

DeleteIteration() public method

public DeleteIteration ( TfsApi.Administration.Dto.ProjectIteration projectIteration ) : void
projectIteration TfsApi.Administration.Dto.ProjectIteration
return void

DeleteIterationUsingIterationPath() public method

public DeleteIterationUsingIterationPath ( string iterationPath ) : void
iterationPath string
return void

DisableIterationPath() public method

public DisableIterationPath ( ITfsTeam tfsTeam, string iterationName ) : void
tfsTeam ITfsTeam
iterationName string
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

EnableIterationPath() public method

public EnableIterationPath ( ITfsTeam tfsTeam, string iterationName, bool includeChildren ) : void
tfsTeam ITfsTeam
iterationName string
includeChildren bool
return void

FindProjectIteration() public method

public FindProjectIteration ( string fullIterationPath ) : TfsApi.Administration.Dto.ProjectIteration
fullIterationPath string
return TfsApi.Administration.Dto.ProjectIteration

FlattenIterations() public method

public FlattenIterations ( List list ) : List
list List
return List

IsIterationPathEnabled() public method

public IsIterationPathEnabled ( ITfsTeam tfsTeam, string iterationPath ) : bool
tfsTeam ITfsTeam
iterationPath string
return bool

IterationManager() public method

Initializes a new instance of the IterationManager class.
public IterationManager ( TfsApi.Administration.Dto.ProjectDetail projectDetail, ITfsCredentials tfsCredentials = null ) : System
projectDetail TfsApi.Administration.Dto.ProjectDetail /// The project detail. ///
tfsCredentials ITfsCredentials
return System

ListIterations() public method

The list Iterations.
public ListIterations ( ) : List
return List