コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = SourceType.GetHashCode();
         hashCode = (hashCode * 397) ^ DestinationType.GetHashCode();
         return(MembersToExpand.Aggregate(hashCode, (currentHash, p) => (currentHash * 397) ^ p.GetHashCode()));
     }
 }
コード例 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = _membersForComparison.GetHashCode();
         hashCode = (hashCode * 397) ^ SourceType.GetHashCode();
         hashCode = (hashCode * 397) ^ DestinationType.GetHashCode();
         return(hashCode);
     }
 }
コード例 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (TypeMap != null ? TypeMap.GetHashCode() : 0);
         result = (result * 397) ^ (SourceType != null ? SourceType.GetHashCode() : 0);
         result = (result * 397) ^ (DestinationType != null ? DestinationType.GetHashCode() : 0);
         result = (result * 397) ^ (SourceValue != null ? SourceValue.GetHashCode() : 0);
         return(result);
     }
 }
コード例 #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = DestinationPropertyName.GetHashCode();
         result = (result * 397) ^ DestinationType.GetHashCode();
         result = (result * 397) ^ SourceProperyName.GetHashCode();
         result = (result * 397) ^ SourceType.GetHashCode();
         return(result);
     }
 }
コード例 #5
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(SourceType.GetHashCode() ^ DestinationType.GetHashCode());
 }
コード例 #6
0
 public override int GetHashCode()
 => SourceType.GetHashCode() ^ DestinationType.GetHashCode();
コード例 #7
0
 public override int GetHashCode()
 {
     return(destinationName.GetHashCode() * 31 + DestinationType.GetHashCode());
 }