diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-08-22 23:50:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-22 23:50:43 -0400 |
| commit | 3a99a4770c86d6815267857558968ef5c1fa73f4 (patch) | |
| tree | 33bf04f0792982f0300d0f972185b0bfff310e15 /MediaBrowser.Controller/Sync/SyncedFileInfo.cs | |
| parent | e88b7b8d0e08694a4cc939b8632cc077dc51c7ca (diff) | |
| parent | c4d8275fc1ad29823788043750e2f3f8e8b8244e (diff) | |
Merge pull request #3958 from Bond-009/warn26
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/Sync/SyncedFileInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Sync/SyncedFileInfo.cs | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Sync/SyncedFileInfo.cs b/MediaBrowser.Controller/Sync/SyncedFileInfo.cs index 687a46d78..a626738fb 100644 --- a/MediaBrowser.Controller/Sync/SyncedFileInfo.cs +++ b/MediaBrowser.Controller/Sync/SyncedFileInfo.cs @@ -1,3 +1,5 @@ +#pragma warning disable CS1591 + using System.Collections.Generic; using MediaBrowser.Model.MediaInfo; @@ -5,6 +7,11 @@ namespace MediaBrowser.Controller.Sync { public class SyncedFileInfo { + public SyncedFileInfo() + { + RequiredHttpHeaders = new Dictionary<string, string>(); + } + /// <summary> /// Gets or sets the path. /// </summary> @@ -12,25 +19,23 @@ namespace MediaBrowser.Controller.Sync public string Path { get; set; } public string[] PathParts { get; set; } + /// <summary> /// Gets or sets the protocol. /// </summary> /// <value>The protocol.</value> public MediaProtocol Protocol { get; set; } + /// <summary> /// Gets or sets the required HTTP headers. /// </summary> /// <value>The required HTTP headers.</value> public Dictionary<string, string> RequiredHttpHeaders { get; set; } + /// <summary> /// Gets or sets the identifier. /// </summary> /// <value>The identifier.</value> public string Id { get; set; } - - public SyncedFileInfo() - { - RequiredHttpHeaders = new Dictionary<string, string>(); - } } } |
