mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
update translations
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace MediaBrowser.Model.Extensions
|
||||
{
|
||||
public interface IHasPropertyChangedEvent : INotifyPropertyChanged
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,16 @@ namespace MediaBrowser.Model.Extensions
|
||||
{
|
||||
public static class ListHelper
|
||||
{
|
||||
public static bool ContainsIgnoreCase(IEnumerable<string> list, string value)
|
||||
public static bool ContainsIgnoreCase(List<string> list, string value)
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
throw new ArgumentNullException("value");
|
||||
}
|
||||
|
||||
return list.Contains(value, StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
public static bool ContainsIgnoreCase(string[] list, string value)
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user