public override bool Equals(object obj) { Article other = obj as Article; if (other == null) { return(false); } bool a = InitialPage == null ? other.InitialPage == null : InitialPage.Equals(other.InitialPage); bool b = FinalPage == null ? other.FinalPage == null : FinalPage.Equals(other.FinalPage); bool c = Exemplar == null ? other.Exemplar == null : Exemplar.Equals(other.Exemplar); bool d = base.Equals(obj); return(a && b && c && d); }
public override bool Equals(object obj) { CongressComunication other = obj as CongressComunication; if (other == null) { return(false); } bool a = Congress == null ? other.Congress == null : Congress.Equals(other.Congress); bool b = Edition == null ? other.Edition == null : Edition.Equals(other.Edition); bool c = Place == null ? other.Place == null : Place.Equals(other.Place); bool d = InitialPage == null ? other.InitialPage == null : InitialPage.Equals(other.InitialPage); bool e = FinalPage == null ? other.FinalPage == null : FinalPage.Equals(other.FinalPage); bool f = base.Equals(obj); return(a && b && c && d && e && f); }