Exemple #1
0
        public int CompareTo(Reference other)
        {
            if (PhysicalPageStart == other.PhysicalPage)
            {
                return(GlyphStart.CompareTo(other.Glyph));
            }

            return(PhysicalPageStart.CompareTo(other.PhysicalPage));
        }
Exemple #2
0
        public int CompareTo(Citation other)
        {
            if (PhysicalPageStart == other.PhysicalPageStart)
            {
                return(GlyphStart.CompareTo(other.GlyphStart));
            }

            return(PhysicalPageStart.CompareTo(other.PhysicalPageStart));
        }