C# Class DBTek.BugGuardian.Factories.ConfigurationFactory

Show file Open project: n3wt0n/BugGuardian

Private Properties

Property Type Description
CleanUrl string

Public Methods

Method Description
SetConfiguration ( string url, string username, string password, string projectName, bool avoidMultipleReport = true ) : void

Allows to set the condifuration from code. If used, overrides the configuration present in the config file

SetConfiguration ( string url, string username, string password, string collectionName, string projectName, bool avoidMultipleReport = true ) : void

Allows to set the condifuration from code. If used, overrides the configuration present in the config file

Private Methods

Method Description
CleanUrl ( string url ) : string

Method Details

SetConfiguration() public static method

Allows to set the condifuration from code. If used, overrides the configuration present in the config file
public static SetConfiguration ( string url, string username, string password, string projectName, bool avoidMultipleReport = true ) : void
url string The url of VSTS or the TFS Server to target
username string The username of the account used to connect to the service
password string The password of the account used to connect to the service
projectName string The name of the Team Project where the bugs will be open
avoidMultipleReport bool If true, if the application throws the same exception more the once it will be reported only once. If false, every time will be created a new Bug to VSTS/TFS.
return void

SetConfiguration() public static method

Allows to set the condifuration from code. If used, overrides the configuration present in the config file
public static SetConfiguration ( string url, string username, string password, string collectionName, string projectName, bool avoidMultipleReport = true ) : void
url string The url of VSTS or the TFS Server to target
username string The username of the account used to connect to the service
password string The password of the account used to connect to the service
collectionName string The name of the Team Collection that contains the Team Project
projectName string The name of the Team Project where the bugs will be open
avoidMultipleReport bool If true, if the application throws the same exception more the once it will be reported only once. If false, every time will be created a new Bug to VSTS/TFS.
return void