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.
Show file Open project: skytap/Skytap-TFS-Automation-Pack Class Usage Examples

Public Methods

Method 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

Method Description
RefreshHttpTimeout ( ) : void
RefreshNumRetries ( ) : void
RefreshSkytapHostUrl ( ) : void
RefreshWaitTime ( ) : void

Method Details

ApplicationParameters() public method

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

Refresh() public method

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

ToString() public method

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