Exemple #1
0
 /// <summary>
 /// Get object hash code
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 => Destiny.GetHashCode() ^ DestinyProperty.GetHashCode() ^ Source.GetHashCode() ^ (SourceProperty?.GetHashCode() ?? 0);
Exemple #2
0
 /// <summary>
 /// Check if it is equal to other <see cref="MapperProperty"/>
 /// </summary>
 /// <param name="other">The <see cref="MapperProperty"/> to comparer</param>
 /// <returns></returns>
 public bool Equals(MapperProperty other)
 {
     return(DestinyProperty.Equals(other.DestinyProperty) &&
            Equals(SourceProperty, other.SourceProperty));
 }