C# Class Skytap.Utilities.ApplicationParameters

Wrapper for the various parameters that control the Skytap plug-in execution. Example values include number of retries for an HTTP operation, amount of time to wait between retries, HTTP timeout values, and the Skytap host URL used for API calls, among others.
Afficher le fichier Open project: skytap/Skytap-TFS-Automation-Pack Class Usage Examples

Méthodes publiques

Méthode Description
ApplicationParameters ( ) : System

Default constructor. Initializes the parameters either from constant defaults or the application configuration file, which takes precedence.

Refresh ( ) : void

Re-read the configuration parameters out of the application configuration file.

ToString ( ) : string

Produces a string representation of all the application parameters managed by the ApplicationParameters class.

Private Methods

Méthode Description
RefreshHttpTimeout ( ) : void
RefreshNumRetries ( ) : void
RefreshSkytapHostUrl ( ) : void
RefreshWaitTime ( ) : void

Method Details

ApplicationParameters() public méthode

Default constructor. Initializes the parameters either from constant defaults or the application configuration file, which takes precedence.
public ApplicationParameters ( ) : System
Résultat System

Refresh() public méthode

Re-read the configuration parameters out of the application configuration file.
public Refresh ( ) : void
Résultat void

ToString() public méthode

Produces a string representation of all the application parameters managed by the ApplicationParameters class.
public ToString ( ) : string
Résultat string