added library grouping settings.

This commit is contained in:
Luke Pulverenti
2014-06-04 22:32:40 -04:00
parent 39547de1f8
commit 7049ad66f4
64 changed files with 842 additions and 146 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace MediaBrowser.Model.Extensions
{
public static class ListHelper
{
public static bool ContainsIgnoreCase(List<string> list, string value)
{
if (value == null)
{
throw new ArgumentNullException("value");
}
return list.Contains(value, StringComparer.OrdinalIgnoreCase);
}
}
}