diff options
| author | Claus Vium <clausvium@gmail.com> | 2020-09-02 12:22:14 +0200 |
|---|---|---|
| committer | Claus Vium <clausvium@gmail.com> | 2020-09-02 12:22:14 +0200 |
| commit | e3377564288598742dbf64f396ed38e42b6b2915 (patch) | |
| tree | 8af7ad746be43d9883e54b29d3cfe8c0988364e2 /MediaBrowser.Controller/Net/StaticResultOptions.cs | |
| parent | 506fc7cbaeb8f82716f84b125ac598ff740bf552 (diff) | |
Remove ServiceStack and related stuff
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 - { - } -} |
