Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj is null)
            {
                return(false);
            }
            DisplayFact that = (DisplayFact)obj;

            return(FactHash.Equals(that.FactHash)); //this.Ind.Equals(that.Ind) && this.Fact.Equals(that.Fact);
        }
Ejemplo n.º 2
0
        public int CompareTo(object obj)
        {
            DisplayFact that = (DisplayFact)obj;

            if (this.FactDate == that.FactDate && Ind != null)
            {
                return(this.Ind.CompareTo(that.Ind));
            }
            return(this.FactDate.CompareTo(that.FactDate));
        }
Ejemplo n.º 3
0
        public int CompareTo(object obj)
        {
            DisplayFact that = (DisplayFact)obj;

            return(FactDate == that.FactDate && Ind != null?Ind.CompareTo(that.Ind) : FactDate.CompareTo(that.FactDate));
        }
Ejemplo n.º 4
0
        public override bool Equals(object obj)
        {
            DisplayFact that = (DisplayFact)obj;

            return(this.FactHash.Equals(that.FactHash)); //this.Ind.Equals(that.Ind) && this.Fact.Equals(that.Fact);
        }