コード例 #1
0
            public bool Equals(ListWrapper <T> x, ListWrapper <T> y)
            {
                if (ReferenceEquals(x, y))
                {
                    return(true);
                }
                if (x == null || y == null)
                {
                    return(false);
                }

                return(ListComparer.Equals(x.items, y.items));
            }
コード例 #2
0
 public int GetHashCode(ListWrapper <T> obj)
 {
     return(ListComparer.GetHashCode(obj.items));
 }