aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/ApiClient/NetworkStatus.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-13 16:21:10 -0400
committerGitHub <noreply@github.com>2017-08-13 16:21:10 -0400
commitdc578f3742b474bd85d556299a6b2763f4d9acda (patch)
treecc4a8d1de140ece77160349e51a64857656ab373 /MediaBrowser.Model/ApiClient/NetworkStatus.cs
parentf6ed934a7e32bf10c3a141773d713bf3b19e784f (diff)
parent7f200f057d33e3ef52b1b1b1bf1767577295317e (diff)
Merge pull request #2815 from MediaBrowser/beta
Beta
Diffstat (limited to 'MediaBrowser.Model/ApiClient/NetworkStatus.cs')
-rw-r--r--MediaBrowser.Model/ApiClient/NetworkStatus.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/MediaBrowser.Model/ApiClient/NetworkStatus.cs b/MediaBrowser.Model/ApiClient/NetworkStatus.cs
deleted file mode 100644
index 715087607..000000000
--- a/MediaBrowser.Model/ApiClient/NetworkStatus.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-
-namespace MediaBrowser.Model.ApiClient
-{
- public class NetworkStatus
- {
- /// <summary>
- /// Gets or sets a value indicating whether this instance is network available.
- /// </summary>
- /// <value><c>true</c> if this instance is network available; otherwise, <c>false</c>.</value>
- public bool IsNetworkAvailable { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether this instance is local network available.
- /// </summary>
- /// <value><c>null</c> if [is local network available] contains no value, <c>true</c> if [is local network available]; otherwise, <c>false</c>.</value>
- public bool? IsLocalNetworkAvailable { get; set; }
- /// <summary>
- /// Gets the is any local network available.
- /// </summary>
- /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
- public bool GetIsAnyLocalNetworkAvailable()
- {
- if (!IsLocalNetworkAvailable.HasValue)
- {
- return IsNetworkAvailable;
- }
-
- return IsLocalNetworkAvailable.Value;
- }
- }
-}