浏览代码

Remove ListHelper.cs

Patrick Barron 5 年之前
父节点
当前提交
27139709e5
共有 1 个文件被更改,包括 0 次插入29 次删除
  1. 0 29
      MediaBrowser.Model/Extensions/ListHelper.cs

+ 0 - 29
MediaBrowser.Model/Extensions/ListHelper.cs

@@ -1,29 +0,0 @@
-#nullable disable
-#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;
-        }
-    }
-}