C# Class TfsApi.Administration.Workers.IterationManager

The Iteration manager.
Inheritance: IIterationManager, IDisposable
Afficher le fichier Open project: Gordon-Beeming/Tfs-Api Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

CheckIfPathAlreadyExists() public méthode

public CheckIfPathAlreadyExists ( string iterationPath ) : bool
iterationPath string
Résultat bool

DeleteIteration() public méthode

public DeleteIteration ( TfsApi.Administration.Dto.ProjectIteration projectIteration ) : void
projectIteration TfsApi.Administration.Dto.ProjectIteration
Résultat void

DeleteIterationUsingIterationPath() public méthode

public DeleteIterationUsingIterationPath ( string iterationPath ) : void
iterationPath string
Résultat void

DisableIterationPath() public méthode

public DisableIterationPath ( ITfsTeam tfsTeam, string iterationName ) : void
tfsTeam ITfsTeam
iterationName string
Résultat void

Dispose() public méthode

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

EnableIterationPath() public méthode

public EnableIterationPath ( ITfsTeam tfsTeam, string iterationName, bool includeChildren ) : void
tfsTeam ITfsTeam
iterationName string
includeChildren bool
Résultat void

FindProjectIteration() public méthode

public FindProjectIteration ( string fullIterationPath ) : TfsApi.Administration.Dto.ProjectIteration
fullIterationPath string
Résultat TfsApi.Administration.Dto.ProjectIteration

FlattenIterations() public méthode

public FlattenIterations ( List list ) : List
list List
Résultat List

IsIterationPathEnabled() public méthode

public IsIterationPathEnabled ( ITfsTeam tfsTeam, string iterationPath ) : bool
tfsTeam ITfsTeam
iterationPath string
Résultat bool

IterationManager() public méthode

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
Résultat System

ListIterations() public méthode

The list Iterations.
public ListIterations ( ) : List
Résultat List