Beispiel #1
0
        public JiraApiClient GetClientWithNewSettings(JiraSettings jiraSettings)
        {
            _jiraSettingsStorage.Set(jiraSettings);

             JiraApiClient result = new JiraApiClient(jiraSettings);
             return result;
        }
Beispiel #2
0
        public JiraApiClient TryToGetClientWithPreviouslyProvidedSettings()
        {
            JiraApiClient result = null;

             JiraSettings jiraSettings = _jiraSettingsStorage.Get();
             if (jiraSettings != null)
             {
            result = new JiraApiClient(jiraSettings);
             }

             return result;
        }
Beispiel #3
0
 public DownloadIssuesCommand(JiraApiClient jiraApiClient)
 {
    _jiraApiClient = jiraApiClient;
 }
 public UploadIssuesCommand(JiraApiClient jiraApiClient, EventAggregator eventAggregator)
 {
    _jiraApiClient = jiraApiClient;
    _eventAggregator = eventAggregator;
 }
Beispiel #5
0
 public OpenIssueInDefaultBrowserCommand(Issue issue, JiraApiClient jiraApiClient)
 {
     _issue = issue;
      _jiraApiClient = jiraApiClient;
 }