Exemplo n.º 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()));
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = _membersForComparison.GetHashCode();
         hashCode = (hashCode * 397) ^ SourceType.GetHashCode();
         hashCode = (hashCode * 397) ^ DestinationType.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(SourceType.GetHashCode() ^ DestinationType.GetHashCode());
 }
Exemplo n.º 6
0
 public override int GetHashCode()
 => SourceType.GetHashCode() ^ DestinationType.GetHashCode();
Exemplo n.º 7
0
 public override int GetHashCode()
 {
     return(destinationName.GetHashCode() * 31 + DestinationType.GetHashCode());
 }