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