From bb031f553b940d21fa89f319d294745484c2234e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 8 May 2014 16:26:20 -0400 Subject: fix portable and 3.5 project references --- .../ApiClient/GeneralCommandEventArgs.cs | 23 ++++++++++++++++ MediaBrowser.Model/ApiClient/ServerEventArgs.cs | 31 ---------------------- .../ApiClient/SessionUpdatesEventArgs.cs | 13 +++++++++ 3 files changed, 36 insertions(+), 31 deletions(-) create mode 100644 MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs delete mode 100644 MediaBrowser.Model/ApiClient/ServerEventArgs.cs create mode 100644 MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs (limited to 'MediaBrowser.Model/ApiClient') diff --git a/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs b/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs new file mode 100644 index 000000000..ce518a7cc --- /dev/null +++ b/MediaBrowser.Model/ApiClient/GeneralCommandEventArgs.cs @@ -0,0 +1,23 @@ +using MediaBrowser.Model.Session; +using System; + +namespace MediaBrowser.Model.ApiClient +{ + /// + /// Class SystemCommandEventArgs + /// + public class GeneralCommandEventArgs : EventArgs + { + /// + /// Gets or sets the command. + /// + /// The command. + public GeneralCommand Command { get; set; } + + /// + /// Gets or sets the type of the known command. + /// + /// The type of the known command. + public GeneralCommandType? KnownCommandType { get; set; } + } +} diff --git a/MediaBrowser.Model/ApiClient/ServerEventArgs.cs b/MediaBrowser.Model/ApiClient/ServerEventArgs.cs deleted file mode 100644 index ad0defe68..000000000 --- a/MediaBrowser.Model/ApiClient/ServerEventArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -using MediaBrowser.Model.Session; -using System; - -namespace MediaBrowser.Model.ApiClient -{ - /// - /// Class SystemCommandEventArgs - /// - public class GeneralCommandEventArgs : EventArgs - { - /// - /// Gets or sets the command. - /// - /// The command. - public GeneralCommand Command { get; set; } - - /// - /// Gets or sets the type of the known command. - /// - /// The type of the known command. - public GeneralCommandType? KnownCommandType { get; set; } - } - - /// - /// Class SessionUpdatesEventArgs - /// - public class SessionUpdatesEventArgs : EventArgs - { - public SessionInfoDto[] Sessions { get; set; } - } -} diff --git a/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs b/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs new file mode 100644 index 000000000..483ee45d0 --- /dev/null +++ b/MediaBrowser.Model/ApiClient/SessionUpdatesEventArgs.cs @@ -0,0 +1,13 @@ +using System; +using MediaBrowser.Model.Session; + +namespace MediaBrowser.Model.ApiClient +{ + /// + /// Class SessionUpdatesEventArgs + /// + public class SessionUpdatesEventArgs : EventArgs + { + public SessionInfoDto[] Sessions { get; set; } + } +} \ No newline at end of file -- cgit v1.2.3