Exemple #1
0
 /// <summary>
 /// Equals the specified other.
 /// </summary>
 /// <param name="other">The other.</param>
 /// <returns></returns>
 public bool Equals(ImpromptuForwarder other)
 {
     if (ReferenceEquals(null, other))
     {
         return(ReferenceEquals(null, CallTarget));
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.CallTarget, CallTarget));
 }
 /// <summary>
 /// Equals the specified other.
 /// </summary>
 /// <param name="other">The other.</param>
 /// <returns></returns>
 public bool Equals(ImpromptuForwarder other)
 {
     if (ReferenceEquals(null, other)) return ReferenceEquals(null, CallTarget);
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.CallTarget, CallTarget);
 }