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