public bool Equals(CommandResult other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(ReferenceId, other.ReferenceId) && CommandId.Equals(other.CommandId)); }
public bool Equals(TCommand other) { return(CommandId.Equals(other.CommandId)); }
protected bool Equals(TCommand other) { return(CommandId.Equals(other.CommandId)); }