Пример #1
0
 public override string ToString()
 {
     return(new
     {
         Section,
         SectionLocation,
         SectionBodyLocation,
         FullSection = FullSection.AsMultilineString()
     }.ToString());
 }
Пример #2
0
 public bool Equals(SectionInfo other)
 {
     return(other == null
         ? false
         : Section.Equals(other.Section) &&
            FullSection.SequenceEqual(other.FullSection) &&
            Body.SequenceEqual(other.Body) &&
            SectionLocation.Equals(other.SectionLocation) &&
            SectionBodyLocation.Equals(other.SectionBodyLocation));
 }