aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-08-16 08:59:43 +0200
committerGitHub <noreply@github.com>2021-08-16 08:59:43 +0200
commitfa77902955c67f8dda8a3280081b56d029fa25f7 (patch)
treebf6e0631c9fda6c8d6e9786c3d765b9df68412d3 /MediaBrowser.Model
parentdb0d5b048a2ced6538604c8aceaeb832ac2ce694 (diff)
parent19824bff94a9f557c3fb1616e1b5031fd125a53a (diff)
Merge pull request #6430 from Bond-009/minor17
Minor improvements
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/Globalization/ILocalizationManager.cs11
1 files changed, 1 insertions, 10 deletions
diff --git a/MediaBrowser.Model/Globalization/ILocalizationManager.cs b/MediaBrowser.Model/Globalization/ILocalizationManager.cs
index baefeb39cf..b213e7aa00 100644
--- a/MediaBrowser.Model/Globalization/ILocalizationManager.cs
+++ b/MediaBrowser.Model/Globalization/ILocalizationManager.cs
@@ -1,4 +1,3 @@
-#nullable disable
using System.Collections.Generic;
using System.Globalization;
using MediaBrowser.Model.Entities;
@@ -57,18 +56,10 @@ 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>
/// <returns>The correct <see cref="CultureInfo" /> for the given language.</returns>
- CultureDto FindLanguageInfo(string language);
+ CultureDto? FindLanguageInfo(string language);
}
}