mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Refactored BacklogProvider
Fixed some issues with root folder and settings controller
This commit is contained in:
parent
e62cb3b5da
commit
613a49c3ea
5 changed files with 107 additions and 98 deletions
|
@ -7,6 +7,7 @@
|
|||
#if DEBUG
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EnvDTE;
|
||||
using EnvDTE80;
|
||||
|
||||
namespace NzbDrone
|
||||
|
@ -21,6 +22,8 @@ namespace NzbDrone
|
|||
ManagedAndNative
|
||||
}
|
||||
|
||||
|
||||
|
||||
private enum AttachResult
|
||||
{
|
||||
Attached,
|
||||
|
@ -40,7 +43,7 @@ namespace NzbDrone
|
|||
}
|
||||
|
||||
|
||||
#region private
|
||||
#region private
|
||||
|
||||
private readonly Dictionary<AttachType, string> _attachTypesMap;
|
||||
private readonly DTE2 _dte;
|
||||
|
@ -49,7 +52,7 @@ namespace NzbDrone
|
|||
|
||||
#endregion
|
||||
|
||||
#region ctor
|
||||
#region ctor
|
||||
|
||||
private ProcessAttacher(DTE2 dte, string processName, int waitTimeout)
|
||||
{
|
||||
|
@ -63,7 +66,7 @@ namespace NzbDrone
|
|||
|
||||
#endregion
|
||||
|
||||
#region private methods
|
||||
#region private methods
|
||||
|
||||
private AttachResult Attach(AttachType attachType)
|
||||
{
|
||||
|
@ -130,7 +133,7 @@ namespace NzbDrone
|
|||
|
||||
#endregion
|
||||
|
||||
#region public methods
|
||||
#region public methods
|
||||
|
||||
|
||||
public void OptimisticAttachManaged()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue