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); }
private void HandleVerseFetchEvent(object sender, VerseAndText e) { VerseFetchEvent?.Invoke(this, e); }