diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-09-01 09:28:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 09:28:19 +0200 |
| commit | 4cd372109dbc740e7e97719b44dec114524e54b5 (patch) | |
| tree | 1b6307b17f9536bf7468232c788fdb5704907743 /MediaBrowser.Model/Configuration/MediaPathInfo.cs | |
| parent | 501c7a639fd0c799edbc583fa7afe0fdc876b7e2 (diff) | |
| parent | 645825db36f2de9771aa5d0ebcdab25855d18b5d (diff) | |
Merge pull request #6473 from Bond-009/nullable7
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; } } } |
