public bool Equals(Identifiable <T> other) { if (other == null) { return(false); } return(Id == other.Id); }
/// <summary> /// /// </summary> /// <param name="other"></param> /// <returns></returns> public bool Equals(Identifiable <T> other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Id == other.Id); }