Ejemplo n.º 1
0
        public override bool Equals(object o)
        {
            bool result = false;

            if (o is SavedRevision)
            {
                SavedRevision other = (SavedRevision)o;
                if (document.GetId().Equals(other.GetDocument().GetId()) && GetId().Equals(other.
                                                                                           GetId()))
                {
                    result = true;
                }
            }
            return(result);
        }