diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2020-05-12 16:08:28 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-12 16:08:28 +0000 |
| commit | 6379391f871424177c6048a54ccd061d6e44bc4a (patch) | |
| tree | cf268efbe2d8aaeee964ef8e893ae382abf88ad4 /MediaBrowser.Model/Extensions/ListHelper.cs | |
| parent | 37dcbfbc3980ed962c28fe7f1ee9d8a78f65ec19 (diff) | |
| parent | 32c118222647f121c0b17055c0ef158763c0b5d2 (diff) | |
Merge branch 'master' into activitydb-efcore
Diffstat (limited to 'MediaBrowser.Model/Extensions/ListHelper.cs')
| -rw-r--r-- | MediaBrowser.Model/Extensions/ListHelper.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/MediaBrowser.Model/Extensions/ListHelper.cs b/MediaBrowser.Model/Extensions/ListHelper.cs deleted file mode 100644 index 90ce6f2e5..000000000 --- a/MediaBrowser.Model/Extensions/ListHelper.cs +++ /dev/null @@ -1,27 +0,0 @@ -#pragma warning disable CS1591 - -using System; - -namespace MediaBrowser.Model.Extensions -{ - // TODO: @bond remove - public static class ListHelper - { - public static bool ContainsIgnoreCase(string[] list, string value) - { - if (value == null) - { - throw new ArgumentNullException(nameof(value)); - } - - foreach (var item in list) - { - if (string.Equals(item, value, StringComparison.OrdinalIgnoreCase)) - { - return true; - } - } - return false; - } - } -} |
