コード例 #1
0
ファイル: ExpressionRequest.cs プロジェクト: zzms/AutoMapper
 public bool Equals(ExpressionRequest other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(MembersToExpand.SequenceEqual(other.MembersToExpand) &&
            SourceType == other.SourceType && DestinationType == other.DestinationType);
 }