Dashing.Configuration.Index.GetHashCode C# (CSharp) 메소드

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int
        public override int GetHashCode() {
            unchecked {
                int hash = 17;
                hash = hash * 23 + this.Name.GetHashCode();
                hash = hash * 23 + this.IsUnique.GetHashCode();
                foreach (var column in this.Columns) {
                    hash = hash * 23 + column.Name.GetHashCode();
                }

                hash = hash * 23 + this.Map.Type.Name.GetHashCode();
                return hash;
            }
        }