Exemple #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);
        }
Exemple #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;
        }
Exemple #3
0
 private void LinkSource(BibleBase bible)
 {
     bible.Source   = this;
     bible.SourceId = Id;
 }