Beispiel #1
0
        public override string ToString()
        {
            if (m_firstBlock == null || m_secondBlock == null)
            {
                return("[no characters in group]");
            }

            var sb = new StringBuilder();

            sb.Append(NumberOfBlocks == Int32.MaxValue ? "MAX" : NumberOfBlocks.ToString()).Append("  |  ")
            .Append(FirstReference)
            .Append(" (").Append(m_firstBlock.CharacterIdInScript).Append(")")
            .Append(" - ")
            .Append(SecondReference)
            .Append(" (").Append(m_secondBlock.CharacterIdInScript).Append(")");
            return(sb.ToString());
        }
Beispiel #2
0
        public override string ToString()
        {
            if (FirstBlock == null || SecondBlock == null)
            {
                return("[no characters in group]");
            }

            var sb = new StringBuilder();

            sb.Append(NumberOfBlocks == Int32.MaxValue ? "MAX" : NumberOfBlocks.ToString()).Append("  |  ")
            .Append(FirstBook.BookId).Append(" ").Append(FirstBlock.ChapterNumber).Append(":").Append(FirstBlock.InitialStartVerseNumber)
            .Append(" (").Append(FirstBlock.CharacterIdInScript).Append(")")
            .Append(" - ")
            .Append(SecondBook.BookId).Append(" ").Append(SecondBlock.ChapterNumber).Append(":").Append(SecondBlock.InitialStartVerseNumber)
            .Append(" (").Append(SecondBlock.CharacterIdInScript).Append(")");
            return(sb.ToString());
        }