From c2ad6f83d300cd3f4f760eca7a8266e8dfd5550a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 10 Mar 2015 23:25:05 -0400 Subject: [PATCH] add RegistrationInfo --- .../MediaBrowser.Model.Portable.csproj | 3 ++ .../MediaBrowser.Model.net35.csproj | 3 ++ MediaBrowser.Model/MediaBrowser.Model.csproj | 1 + .../Registration/RegistrationInfo.cs | 28 +++++++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 MediaBrowser.Model/Registration/RegistrationInfo.cs diff --git a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj index 557d290710..4f56f828b4 100644 --- a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj +++ b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj @@ -986,6 +986,9 @@ Querying\UserQuery.cs + + Registration\RegistrationInfo.cs + Search\SearchHint.cs diff --git a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj index dbe7099bd8..b49cef7405 100644 --- a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj +++ b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj @@ -945,6 +945,9 @@ Querying\UserQuery.cs + + Registration\RegistrationInfo.cs + Search\SearchHint.cs diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index 9c13251ad5..662b760022 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -322,6 +322,7 @@ + diff --git a/MediaBrowser.Model/Registration/RegistrationInfo.cs b/MediaBrowser.Model/Registration/RegistrationInfo.cs new file mode 100644 index 0000000000..da4c27fbdf --- /dev/null +++ b/MediaBrowser.Model/Registration/RegistrationInfo.cs @@ -0,0 +1,28 @@ +using System; + +namespace MediaBrowser.Model.Registration +{ + public class RegistrationInfo + { + /// + /// Gets or sets the name. + /// + /// The name. + public string Name { get; set; } + /// + /// Gets or sets the expiration date. + /// + /// The expiration date. + public DateTime ExpirationDate { get; set; } + /// + /// Gets or sets a value indicating whether this instance is trial. + /// + /// true if this instance is trial; otherwise, false. + public bool IsTrial { get; set; } + /// + /// Gets or sets a value indicating whether this instance is valid. + /// + /// true if this instance is valid; otherwise, false. + public bool IsValid { get; set; } + } +}