public virtual object Clone() { var result = new SimpleVersePointer(this); CopyPropertiesTo(result); return(result); }
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; } }
protected virtual void CopyPropertiesTo(SimpleVersePointer verse) { }
public SimpleVersePointer(SimpleVersePointer verse) : this(verse.BookIndex, verse.VerseNumber, verse.TopVerseNumber) { }
public ModuleVersePointer(SimpleVersePointer verse) : base(verse) { Validate(); }