Esempio n. 1
0
 public GeneralUtil(string sqlConnectionString, ILogger logger = null)
 {
     Logger        = logger ?? DotNetUtil.CreateConsoleLogger();
     SqlConnection = new SqlConnection(sqlConnectionString);
 }
Esempio n. 2
0
 public CloneTimeUtil(string sqlConnectionString, ILogger logger = null)
 {
     Logger        = logger ?? DotNetUtil.CreateConsoleLogger();
     DevOpsServer  = new DevOpsServer("dnceng");
     SqlConnection = new SqlConnection(sqlConnectionString);
 }
Esempio n. 3
0
 public NGenUtil(string personalAccessToken, string connectionString, ILogger logger = null)
 {
     Logger        = logger ?? DotNetUtil.CreateConsoleLogger();
     DevOpsServer  = new DevOpsServer("devdiv", personalAccessToken);
     SqlConnection = new SqlConnection(connectionString);
 }