public override int GetHashCode()
 {
     return(new object[] { OrganisationName, LoginId, FirstName, LastName, EmailAddress, Count }.GetCollectionHashCode()
            ^ MatchOrganisationNameExactly.GetHashCode()
            ^ IsEnabled.GetHashCode()
            ^ IsDisabled.GetHashCode()
            ^ SortOrder.GetHashCode());
 }
Esempio n. 2
0
        public override int GetHashCode()
        {
            const int prime  = 397;
            int       result = (int)Format;

            result = (result * prime) ^ (Pattern != null ? Pattern.GetHashCode() : 0);
            result = (result * prime) ^ (Replace != null ? Replace.GetHashCode() : 0);
            result = (result * prime) ^ (Options != null ? Options.GetHashCode() : 0);
            result = (result * prime) ^ (Order.GetHashCode());
            result = (result * prime) ^ (IsDisabled.GetHashCode());
            return(result);
        }