Enable nullable reference types for MediaBrowser.Controller

This commit is contained in:
Bond_009
2021-05-07 00:39:20 +02:00
parent a4a3f598af
commit fb090df0b5
215 changed files with 406 additions and 44 deletions

View File

@@ -1,22 +0,0 @@
#pragma warning disable CS1591
using System.IO;
using System.Reflection;
namespace MediaBrowser.Controller.Plugins
{
public interface ILocalizablePlugin
{
Stream GetDictionary(string culture);
}
public static class LocalizablePluginHelper
{
public static Stream GetDictionary(Assembly assembly, string manifestPrefix, string culture)
{
// Find all dictionaries using GetManifestResourceNames, start start with the prefix
// Return the one for the culture if exists, otherwise return the default
return null;
}
}
}