jellyfin-server/MediaBrowser.Controller/Extensions/StringExtensions.cs

18 lines
437 B
C#
Raw Normal View History

2018-12-27 23:27:57 +00:00
using MediaBrowser.Model.Globalization;
namespace MediaBrowser.Controller.Extensions
{
/// <summary>
/// Class BaseExtensions
/// </summary>
public static class StringExtensions
{
public static ILocalizationManager LocalizationManager { get; set; }
public static string RemoveDiacritics(this string text)
{
return LocalizationManager.RemoveDiacritics(text);
}
}
}