/// <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(ActLikeProxyOriginal, other.ActLikeProxyOriginal)) { return(true); } return(Equals(other.ActLikeProxyOriginal, ActLikeProxyOriginal)); }
/// <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(ActLikeProxyOriginal, other.ActLikeProxyOriginal)) return true; return Equals(other.ActLikeProxyOriginal, ActLikeProxyOriginal); }