Пример #1
0
        public virtual object Clone()
        {
            var result = new SimpleVersePointer(this);

            CopyPropertiesTo(result);

            return(result);
        }
Пример #2
0
        protected override void CopyPropertiesTo(SimpleVersePointer verse)
        {
            base.CopyPropertiesTo(verse);

            if (verse is ModuleVersePointer moduleVersePointer)
            {
                moduleVersePointer.IsApocrypha         = this.IsApocrypha;
                moduleVersePointer.IsEmpty             = this.IsEmpty;
                moduleVersePointer.PartIndex           = this.PartIndex;
                moduleVersePointer.SkipCheck           = this.SkipCheck;
                moduleVersePointer.EmptyVerseContent   = this.EmptyVerseContent;
                moduleVersePointer.IsPartOfBigVerse    = this.IsPartOfBigVerse;
                moduleVersePointer.HasValueEvenIfEmpty = this.HasValueEvenIfEmpty;
            }
        }
Пример #3
0
 protected virtual void CopyPropertiesTo(SimpleVersePointer verse)
 {
 }
Пример #4
0
 public SimpleVersePointer(SimpleVersePointer verse)
     : this(verse.BookIndex, verse.VerseNumber, verse.TopVerseNumber)
 {
 }
Пример #5
0
 public ModuleVersePointer(SimpleVersePointer verse)
     : base(verse)
 {
     Validate();
 }