mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Refactored BacklogProvider
Fixed some issues with root folder and settings controller
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user