Пример #1
0
        public override Boolean Equals(Object o)
        {
            if (this == o)
            {
                return(true);
            }
            if (o == null || this.GetType() != o.GetType())
            {
                return(false);
            }
            Boolean retval = false;

            DetailsTuple that = (DetailsTuple)o;

            retval = (this.detailName.Equals(that.detailName)) && (this.detailValue.Equals(that.detailValue));

            return(retval);
        }
Пример #2
0
 public Details AddDetails(DetailsTuple tuple)
 {
     detailsTuples.Add(tuple);
     return(this);
 }