From 107c241598f0181102c53e2e1b215d335976028d Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Fri, 22 Feb 2013 15:52:59 -0500 Subject: [PATCH] Added IDisposable to IWebSocketListener --- MediaBrowser.Api/Api.cs | 12 ++++++++++++ MediaBrowser.Common/Kernel/IWebSocketListener.cs | 3 ++- MediaBrowser.Common/MediaBrowser.Common.csproj | 3 --- MediaBrowser.Common/packages.config | 1 - 4 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 MediaBrowser.Api/Api.cs diff --git a/MediaBrowser.Api/Api.cs b/MediaBrowser.Api/Api.cs new file mode 100644 index 000000000..fda9d1bd8 --- /dev/null +++ b/MediaBrowser.Api/Api.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MediaBrowser.Api +{ + class Api + { + } +} diff --git a/MediaBrowser.Common/Kernel/IWebSocketListener.cs b/MediaBrowser.Common/Kernel/IWebSocketListener.cs index b04bb6885..00be28ed3 100644 --- a/MediaBrowser.Common/Kernel/IWebSocketListener.cs +++ b/MediaBrowser.Common/Kernel/IWebSocketListener.cs @@ -1,4 +1,5 @@ using MediaBrowser.Common.Net; +using System; using System.Threading.Tasks; namespace MediaBrowser.Common.Kernel @@ -6,7 +7,7 @@ namespace MediaBrowser.Common.Kernel /// ///This is an interface for listening to messages coming through a web socket connection /// - public interface IWebSocketListener + public interface IWebSocketListener : IDisposable { /// /// Processes the message. diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csproj index 0f0c58f17..9ad4a1273 100644 --- a/MediaBrowser.Common/MediaBrowser.Common.csproj +++ b/MediaBrowser.Common/MediaBrowser.Common.csproj @@ -41,9 +41,6 @@ ..\packages\Alchemy.2.2.1\lib\net40\Alchemy.dll - - ..\packages\morelinq.1.0.15631-beta\lib\net35\MoreLinq.dll - ..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll diff --git a/MediaBrowser.Common/packages.config b/MediaBrowser.Common/packages.config index 4ac80b285..536640094 100644 --- a/MediaBrowser.Common/packages.config +++ b/MediaBrowser.Common/packages.config @@ -1,7 +1,6 @@  -