aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Net/StaticResultOptions.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-09-02 23:18:32 +0200
committerGitHub <noreply@github.com>2020-09-02 23:18:32 +0200
commit52b34eb407b8028841e70518aafb52b065b9c505 (patch)
treedd71bd9795301140a8371463132e2188a9bab5fa /MediaBrowser.Controller/Net/StaticResultOptions.cs
parentdcef8636d58064191b7a9c426819c39714b8ca7a (diff)
parentb9cd6a125bd66fc4edd8f95883af8a3e21df96c6 (diff)
Merge pull request #4039 from cvium/remove_shit_and_shit_adjacent_shit
Remove ServiceStack and related stuff
Diffstat (limited to 'MediaBrowser.Controller/Net/StaticResultOptions.cs')
-rw-r--r--MediaBrowser.Controller/Net/StaticResultOptions.cs44
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
- {
- }
-}