aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Globalization/ILocalizationManager.cs
diff options
context:
space:
mode:
authorDavid Ullmer <davidullmer@outlook.de>2021-08-10 13:39:51 +0200
committerDavid Ullmer <davidullmer@outlook.de>2021-08-10 13:39:51 +0200
commit6b61b50b5331a3b088fa9fd5e742962dcb9b5b0b (patch)
tree3a7890f481e30f95207d2a53cc187dfe8380b047 /MediaBrowser.Model/Globalization/ILocalizationManager.cs
parent77aee515a25b04d53aea05302209121daa33923b (diff)
Revert "Refactor LocalizationManager and remove dead method"
This reverts commit db2b53a4b52d0c1e9797bfc70030b04421ba46a6.
Diffstat (limited to 'MediaBrowser.Model/Globalization/ILocalizationManager.cs')
-rw-r--r--MediaBrowser.Model/Globalization/ILocalizationManager.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Globalization/ILocalizationManager.cs b/MediaBrowser.Model/Globalization/ILocalizationManager.cs
index e0e7317ef..baefeb39c 100644
--- a/MediaBrowser.Model/Globalization/ILocalizationManager.cs
+++ b/MediaBrowser.Model/Globalization/ILocalizationManager.cs
@@ -57,6 +57,14 @@ namespace MediaBrowser.Model.Globalization
IEnumerable<LocalizationOption> GetLocalizationOptions();
/// <summary>
+ /// Checks if the string contains a character with the specified unicode category.
+ /// </summary>
+ /// <param name="value">The string.</param>
+ /// <param name="category">The unicode category.</param>
+ /// <returns>Wether or not the string contains a character with the specified unicode category.</returns>
+ bool HasUnicodeCategory(string value, UnicodeCategory category);
+
+ /// <summary>
/// Returns the correct <see cref="CultureInfo" /> for the given language.
/// </summary>
/// <param name="language">The language.</param>