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

18 lines
437 B
C#
Raw Normal View History

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