public override string ToString() { StringBuilder sb = new StringBuilder(); AppendQcData(sb, Idx.ToString()); AppendQcData(sb, VolumeId.ToString()); AppendQcData(sb, VolumeTitle); AppendQcData(sb, VolumePublicationDate.ToString()); AppendQcData(sb, CitationId.ToString()); AppendQcData(sb, Page.ToString()); AppendQcData(sb, PhysicalPage.ToString()); AppendQcData(sb, OriginalCitation); AppendQcData(sb, Citation); AppendQcData(sb, CitationAndSource); AppendQcData(sb, Book); AppendQcData(sb, BookAuthor); AppendQcData(sb, Chapter); AppendQcData(sb, SubChapter); AppendQcData(sb, Paragraph); AppendQcData(sb, MainCategory); AppendQcData(sb, MainCategoryWeight.ToString()); return(sb.ToString()); }
public int CompareTo(Citation other) { if (PhysicalPage == other.PhysicalPageStart) { return(Glyph.CompareTo(other.GlyphStart)); } return(PhysicalPage.CompareTo(other.PhysicalPageStart)); }
public int CompareTo(Reference other) { if (PhysicalPage == other.PhysicalPage) { return(Glyph.CompareTo(other.Glyph)); } return(PhysicalPage.CompareTo(other.PhysicalPage)); }