Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (RowSource != null ? RowSource.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Rules != null ? Rules.GetHashCode() : 0);
         return(hashCode);
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (Name != null ? Name.GetHashCode() : 0);
         result = result * 397 ^ (RowSource != null ? RowSource.GetHashCode() : 0);
         result = (result * 397) ^ CollectionUtil.GetHashCodeDeep(Columns);
         result = (result * 397) ^ CollectionUtil.GetHashCodeDeep(Filters);
         result = (result * 397) ^ SublistId.GetHashCode();
         return(result);
     }
 }
Esempio n. 3
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = PropMask?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Tag?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ Id;
         hashCode = (hashCode * 397) ^ HelpContextId;
         hashCode = (hashCode * 397) ^ (int)BitFlags;
         hashCode = (hashCode * 397) ^ (int)ObjectStreamSize;
         hashCode = (hashCode * 397) ^ TabIndex.GetHashCode();
         hashCode = (hashCode * 397) ^ ClsidCacheIndex.GetHashCode();
         hashCode = (hashCode * 397) ^ GroupId.GetHashCode();
         hashCode = (hashCode * 397) ^ (ControlTipText?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (RuntimeLicKey?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (ControlSource?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (RowSource?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (SitePosition?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }