示例#1
0
 public JiraConnector(IJiraConfiguration jiraConfiguration, JiraMonitor jiraMonitor)
 {
     jiraConfiguration.Url = jiraConfiguration.Url.Replace(DefaultPostfix, "");
     _jiraConfiguration    = jiraConfiguration;
     _jiraMonitor          = jiraMonitor;
     _jiraClient           = JiraClient.Create(new Uri(jiraConfiguration.Url));
 }
示例#2
0
 public JiraConnector(
     IJiraConfiguration jiraConfiguration,
     JiraMonitor jiraMonitor,
     ICoreConfiguration coreConfiguration,
     INetworkConfiguration networkConfiguration)
 {
     jiraConfiguration.Url = jiraConfiguration.Url.Replace(DefaultPostfix, "");
     _jiraConfiguration    = jiraConfiguration;
     _jiraMonitor          = jiraMonitor;
     _coreConfiguration    = coreConfiguration;
     _jiraClient           = JiraClient.Create(new Uri(jiraConfiguration.Url), networkConfiguration);
 }