diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-08-11 17:56:12 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-11 17:56:12 -0400 |
| commit | 3237fd9e5e2a2879d0d48acc4c7e5c0f7b397c38 (patch) | |
| tree | 428594aefb259b23b2ae990a50417c75c41f4338 /MediaBrowser.Model/ApiClient/NetworkStatus.cs | |
| parent | aff4fc649b33b9a8ac257f11c954d8e9741a68d0 (diff) | |
| parent | b7867214ef317bbf6502e53701a990ec5f13b645 (diff) | |
Merge pull request #2806 from MediaBrowser/dev
update download error handling
Diffstat (limited to 'MediaBrowser.Model/ApiClient/NetworkStatus.cs')
| -rw-r--r-- | MediaBrowser.Model/ApiClient/NetworkStatus.cs | 30 |
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; - } - } -} |
