Example #1
0
 /// <summary>
 ///   Actlike proxy should be equivalent to the objects they proxy
 /// </summary>
 /// <param name="other"> The other. </param>
 /// <returns> </returns>
 public bool Equals(ActLikeProxy other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     if (ReferenceEquals(Original, other.Original))
     {
         return(true);
     }
     return(Equals(other.Original, Original));
 }
Example #2
0
 /// <summary>
 ///   Actlike proxy should be equivalent to the objects they proxy
 /// </summary>
 /// <param name="other"> The other. </param>
 /// <returns> </returns>
 public bool Equals(ActLikeProxy other)
 {
     if (ReferenceEquals(null, other)) {
         return false;
     }
     if (ReferenceEquals(this, other)) {
         return true;
     }
     if (ReferenceEquals(Original, other.Original)) {
         return true;
     }
     return Equals(other.Original, Original);
 }