Пример #1
0
        private string OverrideVerseFetch(int bookNumber, int chapter, int verse)
        {
            if (VerseFetchEvent != null)
            {
                var v = new VerseAndText
                {
                    BookNumber    = bookNumber,
                    ChapterNumber = chapter,
                    VerseNumber   = verse
                };

                VerseFetchEvent.Invoke(this, v);

                return(v.Text);
            }

            return(null);
        }
Пример #2
0
 private void HandleVerseFetchEvent(object sender, VerseAndText e)
 {
     VerseFetchEvent?.Invoke(this, e);
 }