diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-08-28 17:32:09 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-08-28 17:32:09 +0200 |
| commit | 645825db36f2de9771aa5d0ebcdab25855d18b5d (patch) | |
| tree | 72526fa08230b26951c453638c1c2d2e4afcedca /MediaBrowser.Model/Configuration/MediaPathInfo.cs | |
| parent | e88367fe70f8d5f2a0cec35792739fe23000a818 (diff) | |
Enable nullable for more files
Diffstat (limited to 'MediaBrowser.Model/Configuration/MediaPathInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/MediaPathInfo.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Configuration/MediaPathInfo.cs b/MediaBrowser.Model/Configuration/MediaPathInfo.cs index 4f311c58f..d096defcb 100644 --- a/MediaBrowser.Model/Configuration/MediaPathInfo.cs +++ b/MediaBrowser.Model/Configuration/MediaPathInfo.cs @@ -1,12 +1,16 @@ -#nullable disable #pragma warning disable CS1591 namespace MediaBrowser.Model.Configuration { public class MediaPathInfo { + public MediaPathInfo(string path) + { + Path = path; + } + public string Path { get; set; } - public string NetworkPath { get; set; } + public string? NetworkPath { get; set; } } } |
