aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/MediaPathInfo.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-09-01 09:28:19 +0200
committerGitHub <noreply@github.com>2021-09-01 09:28:19 +0200
commit4cd372109dbc740e7e97719b44dec114524e54b5 (patch)
tree1b6307b17f9536bf7468232c788fdb5704907743 /MediaBrowser.Model/Configuration/MediaPathInfo.cs
parent501c7a639fd0c799edbc583fa7afe0fdc876b7e2 (diff)
parent645825db36f2de9771aa5d0ebcdab25855d18b5d (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.cs8
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; }
}
}