Explorar o código

fix nullability

Cody Robibero %!s(int64=5) %!d(string=hai) anos
pai
achega
5f1b1dc3cc
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      MediaBrowser.Model/Providers/ExternalIdInfo.cs

+ 3 - 3
MediaBrowser.Model/Providers/ExternalIdInfo.cs

@@ -9,13 +9,13 @@ namespace MediaBrowser.Model.Providers
         /// Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
         /// Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
         /// </summary>
         /// </summary>
         // TODO: This should be renamed to ProviderName
         // TODO: This should be renamed to ProviderName
-        public string Name { get; set; }
+        public string? Name { get; set; }
 
 
         /// <summary>
         /// <summary>
         /// Gets or sets the unique key for this id. This key should be unique across all providers.
         /// Gets or sets the unique key for this id. This key should be unique across all providers.
         /// </summary>
         /// </summary>
         // TODO: This property is not actually unique across the concrete types at the moment. It should be updated to be unique.
         // TODO: This property is not actually unique across the concrete types at the moment. It should be updated to be unique.
-        public string Key { get; set; }
+        public string? Key { get; set; }
 
 
         /// <summary>
         /// <summary>
         /// Gets or sets the specific media type for this id. This is used to distinguish between the different
         /// Gets or sets the specific media type for this id. This is used to distinguish between the different
@@ -31,6 +31,6 @@ namespace MediaBrowser.Model.Providers
         /// <summary>
         /// <summary>
         /// Gets or sets the URL format string.
         /// Gets or sets the URL format string.
         /// </summary>
         /// </summary>
-        public string UrlFormatString { get; set; }
+        public string? UrlFormatString { get; set; }
     }
     }
 }
 }