public JiraPlugin() { _instance = this; // Added to prevent Greenshot from shutting down when there was an exception in a Task TaskScheduler.UnobservedTaskException += (sender, args) => { try { Exception exceptionToLog = args.Exception; string exceptionText = EnvironmentInfo.BuildReport(exceptionToLog); Log.Error("Exception caught in the UnobservedTaskException handler."); Log.Error(exceptionText); new BugReportForm(exceptionText).ShowDialog(); } finally { args.SetObserved(); } }; }
public JiraDestination(JiraPlugin jiraPlugin, JiraIssue jira) { this.jiraPlugin = jiraPlugin; this.jira = jira; }
public JiraDestination(JiraPlugin jiraPlugin) { this.jiraPlugin = jiraPlugin; }
public JiraPlugin() { instance = this; }
public JiraDestination(JiraPlugin jiraPlugin, Issue jiraIssue) { _jiraPlugin = jiraPlugin; _jiraIssue = jiraIssue; }
public JiraDestination(JiraPlugin jiraPlugin) { _jiraPlugin = jiraPlugin; }