-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathConnectionData.cs
59 lines (55 loc) · 1.71 KB
/
ConnectionData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tfs_cli
{
class ConnectionData
{
private string _url;
private string _project;
private string _testplan;
private string _login;
private string _pwd;
private string _domen;
private string _proxy_login;
private string _proxy_password;
private string _proxy_domain;
public ConnectionData
(
string url,
string project,
string testplan,
string login,
string pwd,
string domen,
string proxy_login,
string proxy_password,
string proxy_domain
)
{
_url = url;
_project = project;
_testplan = testplan;
_login = login;
_pwd = pwd;
_domen = domen;
_proxy_login = proxy_login;
_proxy_password = proxy_password;
_proxy_domain = proxy_domain;
}
public void setTestPlan(string newtp) {
_testplan = newtp;
}
public string Url() { return _url; }
public string Project() { return _project; }
public string Testplan() { return _testplan; }
public string User() { return _login; }
public string Password() { return _pwd; }
public string Domen() { return _domen; }
public string ProxyLogin() { return _proxy_login; }
public string ProxyPassword() { return _proxy_password; }
public string ProxyDomain() { return _proxy_domain; }
}
}