mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 10:47:02 -07:00
Added missing files from pull-request and updated the readme.txt
This commit is contained in:
parent
2a15a5e270
commit
945fd1db46
7 changed files with 38 additions and 41 deletions
|
@ -24,6 +24,8 @@ using Greenshot.IniFile;
|
|||
using Greenshot.Plugin;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Dapplo.HttpExtensions.ContentConverter;
|
||||
using Dapplo.Log.Facade;
|
||||
using GreenshotJiraPlugin.Forms;
|
||||
|
||||
namespace GreenshotJiraPlugin {
|
||||
|
@ -67,14 +69,7 @@ namespace GreenshotJiraPlugin {
|
|||
//Needed for a fail-fast
|
||||
public JiraConnector CurrentJiraConnector => _jiraConnector;
|
||||
|
||||
public JiraConnector JiraConnector {
|
||||
get {
|
||||
if (_jiraConnector == null) {
|
||||
_jiraConnector = new JiraConnector();
|
||||
}
|
||||
return _jiraConnector;
|
||||
}
|
||||
}
|
||||
public JiraConnector JiraConnector => _jiraConnector ?? (_jiraConnector = new JiraConnector());
|
||||
|
||||
/// <summary>
|
||||
/// Implementation of the IGreenshotPlugin.Initialize
|
||||
|
@ -85,6 +80,7 @@ namespace GreenshotJiraPlugin {
|
|||
public bool Initialize(IGreenshotHost pluginHost, PluginAttribute myAttributes) {
|
||||
// Register configuration (don't need the configuration itself)
|
||||
_config = IniConfig.GetIniSection<JiraConfiguration>();
|
||||
LogSettings.RegisterDefaultLogger<Log4NetLogger>();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue