From 213c842050bc2fd9f88bed76f0b038e1f9ca3aa1 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Tue, 16 Apr 2013 16:21:28 -0700 Subject: [PATCH] removed signalr, will re-add when actually needed. --- NzbDrone.Api/NzbDrone.Api.csproj | 9 ----- NzbDrone.Api/TinyIoCDependencyResolver.cs | 40 ------------------- NzbDrone.Api/packages.config | 2 - NzbDrone.App.Test/ContainerFixture.cs | 1 - NzbDrone.Common/Contract/ParseErrorReport.cs | 1 - NzbDrone.Core.Test/NzbDrone.Core.Test.csproj | 4 -- NzbDrone.Core.Test/packages.config | 1 - NzbDrone.Core/NzbDrone.Core.csproj | 3 -- NzbDrone.Core/packages.config | 2 - .../NzbDrone.Libraries.Test.csproj | 3 ++ 10 files changed, 3 insertions(+), 63 deletions(-) delete mode 100644 NzbDrone.Api/TinyIoCDependencyResolver.cs diff --git a/NzbDrone.Api/NzbDrone.Api.csproj b/NzbDrone.Api/NzbDrone.Api.csproj index 5f5ef4221..057c8ad41 100644 --- a/NzbDrone.Api/NzbDrone.Api.csproj +++ b/NzbDrone.Api/NzbDrone.Api.csproj @@ -74,14 +74,6 @@ False ..\packages\NLog.2.0.1.2\lib\net40\NLog.dll - - False - ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll - - - False - ..\packages\SignalR.Hosting.Common.0.5.3\lib\net40\SignalR.Hosting.Common.dll - @@ -125,7 +117,6 @@ - diff --git a/NzbDrone.Api/TinyIoCDependencyResolver.cs b/NzbDrone.Api/TinyIoCDependencyResolver.cs deleted file mode 100644 index e045a9b1d..000000000 --- a/NzbDrone.Api/TinyIoCDependencyResolver.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using SignalR; -using TinyIoC; - -namespace NzbDrone.Api -{ - public class TinyIoCDependencyResolver : DefaultDependencyResolver - { - private readonly TinyIoCContainer _container; - - public TinyIoCDependencyResolver(TinyIoCContainer container) - { - _container = container; - } - - public override object GetService(Type serviceType) - { - if (_container.CanResolve(serviceType)) - { - return _container.Resolve(serviceType); - } - - return base.GetService(serviceType); - } - - public override IEnumerable GetServices(Type serviceType) - { - IEnumerable services = new object[] { }; - - if (_container.CanResolve(serviceType)) - { - services = _container.ResolveAll(serviceType); - } - - return services.Concat(base.GetServices(serviceType)); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Api/packages.config b/NzbDrone.Api/packages.config index f42130b1f..e36eebf8c 100644 --- a/NzbDrone.Api/packages.config +++ b/NzbDrone.Api/packages.config @@ -5,6 +5,4 @@ - - \ No newline at end of file diff --git a/NzbDrone.App.Test/ContainerFixture.cs b/NzbDrone.App.Test/ContainerFixture.cs index 731f8ec30..55d64e82c 100644 --- a/NzbDrone.App.Test/ContainerFixture.cs +++ b/NzbDrone.App.Test/ContainerFixture.cs @@ -17,7 +17,6 @@ namespace NzbDrone.App.Test ContainerBuilder.Instance.Resolve>().Should().NotBeEmpty(); } - [Test] public void should_be_able_to_resolve_indexers() { diff --git a/NzbDrone.Common/Contract/ParseErrorReport.cs b/NzbDrone.Common/Contract/ParseErrorReport.cs index 19b5ad6ef..fe78111e6 100644 --- a/NzbDrone.Common/Contract/ParseErrorReport.cs +++ b/NzbDrone.Common/Contract/ParseErrorReport.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.Linq; using Newtonsoft.Json; namespace NzbDrone.Common.Contract diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index 2d0e6ce4b..9c3c3db27 100644 --- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -107,10 +107,6 @@ False ..\packages\Prowlin.0.9.4456.26422\lib\net40\Prowlin.dll - - False - ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll - diff --git a/NzbDrone.Core.Test/packages.config b/NzbDrone.Core.Test/packages.config index a99262acd..58fd5565c 100644 --- a/NzbDrone.Core.Test/packages.config +++ b/NzbDrone.Core.Test/packages.config @@ -11,6 +11,5 @@ - \ No newline at end of file diff --git a/NzbDrone.Core/NzbDrone.Core.csproj b/NzbDrone.Core/NzbDrone.Core.csproj index 418ffbc04..6a84aa78c 100644 --- a/NzbDrone.Core/NzbDrone.Core.csproj +++ b/NzbDrone.Core/NzbDrone.Core.csproj @@ -157,9 +157,6 @@ ..\packages\RestSharp.104.1\lib\net4\RestSharp.dll - - ..\packages\SignalR.Server.0.5.3\lib\net40\SignalR.dll - diff --git a/NzbDrone.Core/packages.config b/NzbDrone.Core/packages.config index 24d66698e..82d976ee4 100644 --- a/NzbDrone.Core/packages.config +++ b/NzbDrone.Core/packages.config @@ -8,7 +8,5 @@ - - \ No newline at end of file diff --git a/NzbDrone.Libraries.Test/NzbDrone.Libraries.Test.csproj b/NzbDrone.Libraries.Test/NzbDrone.Libraries.Test.csproj index f5bb09190..f27aadabc 100644 --- a/NzbDrone.Libraries.Test/NzbDrone.Libraries.Test.csproj +++ b/NzbDrone.Libraries.Test/NzbDrone.Libraries.Test.csproj @@ -11,6 +11,8 @@ NzbDrone.Libraries.Test v4.0 512 + ..\ + true true @@ -58,6 +60,7 @@ +