Beispiel #1
0
        private void LinkSource(BibleBase target, BibleBase source)
        {
            if (target == null)
            {
                throw new ArgumentNullException(nameof(target));
            }
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            LinkSource(target, source.Source);
        }
Beispiel #2
0
        private void LinkSource(BibleBase target, BibleSource source)
        {
            if (target == null)
            {
                throw new ArgumentNullException(nameof(target));
            }
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            target.Source   = source;
            target.SourceId = source.Id;
        }
Beispiel #3
0
 private void LinkSource(BibleBase bible)
 {
     bible.Source   = this;
     bible.SourceId = Id;
 }