Bladeren bron

Make RootObject and SeasonRootObject internal again

David 4 jaren geleden
bovenliggende
commit
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);
             return string.Equals(lang, "en", StringComparison.OrdinalIgnoreCase);
         }
         }
 
 
-        public class SeasonRootObject
+        internal class SeasonRootObject
         {
         {
             public string Title { get; set; }
             public string Title { get; set; }
 
 
@@ -486,7 +486,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb
             public string Response { get; set; }
             public string Response { get; set; }
         }
         }
 
 
-        public class RootObject
+        internal class RootObject
         {
         {
             public string Title { get; set; }
             public string Title { get; set; }
 
 

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

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