diff options
| author | crobibero <cody@robibe.ro> | 2020-09-03 16:18:36 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-03 16:18:36 -0600 |
| commit | 21a5692626fa7389b4b37a91050496b2fe7a0260 (patch) | |
| tree | 910ca74c80542e574b91a2985aa248578e0abfe0 /MediaBrowser.Controller/Net/StaticResultOptions.cs | |
| parent | 1feee6f95e00cf579ab16c7ca004947534545d9b (diff) | |
| parent | 1cbe4896e2ae0596cceb80f5b11e33dd2926b1f3 (diff) | |
Merge remote-tracking branch 'upstream/master' into api-doc-base-url
Diffstat (limited to 'MediaBrowser.Controller/Net/StaticResultOptions.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/StaticResultOptions.cs | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/MediaBrowser.Controller/Net/StaticResultOptions.cs b/MediaBrowser.Controller/Net/StaticResultOptions.cs deleted file mode 100644 index c1e9bc845..000000000 --- a/MediaBrowser.Controller/Net/StaticResultOptions.cs +++ /dev/null @@ -1,44 +0,0 @@ -#pragma warning disable CS1591 - -using System; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; - -namespace MediaBrowser.Controller.Net -{ - public class StaticResultOptions - { - public string ContentType { get; set; } - - public TimeSpan? CacheDuration { get; set; } - - public DateTime? DateLastModified { get; set; } - - public Func<Task<Stream>> ContentFactory { get; set; } - - public bool IsHeadRequest { get; set; } - - public IDictionary<string, string> ResponseHeaders { get; set; } - - public Action OnComplete { get; set; } - - public Action OnError { get; set; } - - public string Path { get; set; } - - public long? ContentLength { get; set; } - - public FileShare FileShare { get; set; } - - public StaticResultOptions() - { - ResponseHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); - FileShare = FileShare.Read; - } - } - - public class StaticFileResultOptions : StaticResultOptions - { - } -} |
