コード例 #1
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (Mode != null ? Mode.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Schema != null ? Schema.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ParentApplication != null ? ParentApplication.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ParentSchema != null ? ParentSchema.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AttributeName != null ? AttributeName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ParentMode != null ? ParentMode.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (MetadataId != null ? MetadataId.GetHashCode() : 0);
         return(hashCode);
     }
 }