public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (PropertyName != null ? PropertyName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ PropertyId.GetHashCode();
         hashCode = (hashCode * 397) ^ (PropertyValue != null ? PropertyValue.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ValidValues != null ? ValidValues.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (UsersGroups != null ? UsersGroups.GetHashCode() : 0);
         return(hashCode);
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     return(PropertyValue.GetHashCode());
 }