瀏覽代碼

Make RootObject and SeasonRootObject internal again

David 4 年之前
父節點
當前提交
9e0f425783

+ 2 - 2
MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs

@@ -471,7 +471,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb
             return string.Equals(lang, "en", StringComparison.OrdinalIgnoreCase);
         }
 
-        public class SeasonRootObject
+        internal class SeasonRootObject
         {
             public string Title { get; set; }
 
@@ -486,7 +486,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb
             public string Response { get; set; }
         }
 
-        public class RootObject
+        internal class RootObject
         {
             public string Title { get; set; }
 

+ 2 - 0
MediaBrowser.Providers/Properties/AssemblyInfo.cs

@@ -1,5 +1,6 @@
 using System.Reflection;
 using System.Resources;
+using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 
 // General Information about an assembly is controlled through the following
@@ -14,6 +15,7 @@ using System.Runtime.InteropServices;
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
 [assembly: NeutralResourcesLanguage("en")]
+[assembly: InternalsVisibleTo("Jellyfin.Common.Tests")]
 
 // Setting ComVisible to false makes the types in this assembly not visible
 // to COM components.  If you need to access a type in this assembly from