Exemplo n.º 1
0
        public override int GetHashCode()
        {
            HashCode hashCode = new HashCode();

            hashCode.Add(this.Schema);
            hashCode.AddRange(this.Header);

            return(hashCode.ToHashCode());
        }
Exemplo n.º 2
0
        public static int CombineAll <T>(IEnumerable <T> items)
        {
            HashCode hashCode = new HashCode();

            foreach (T value in items)
            {
                hashCode.Add(value);
            }

            return(hashCode.ToHashCode());
        }