jellyfin/MediaBrowser.Controller/Extensions/StringExtensions.cs

18 lines
437 B
C#
Raw Normal View History

2016-10-25 12:02:04 -07:00
using MediaBrowser.Model.Globalization;
namespace MediaBrowser.Controller.Extensions
{
/// <summary>
/// Class BaseExtensions
/// </summary>
2016-10-23 12:47:34 -07:00
public static class StringExtensions
{
2016-10-25 12:02:04 -07:00
public static ILocalizationManager LocalizationManager { get; set; }
public static string RemoveDiacritics(this string text)
{
2016-10-25 12:02:04 -07:00
return LocalizationManager.RemoveDiacritics(text);
}
}
}