Пример #1
0
 /// <summary>
 /// Sends a "Santa Fe" focus message which can be used by other applications (such as Paratext)
 /// to navigate to the same Scripture reference
 /// </summary>
 /// <param name="currRef"></param>
 public static void SendScrReference(this VerseRef currRef)
 {
     if (currRef != null && currRef.Valid)
     {
         currRef.ChangeVersification(ScrVers.English);
         SantaFeFocusMessageHandler.SendFocusMessage(currRef.ToString());
     }
 }
Пример #2
0
        public void AddReference(VerseRef vref)
        {
            if (references == null)
            {
                references = new List <Verse>();
            }

            var verse = new Verse();

            verse.VerseText     = vref.ToString();
            verse.Versification = Versification;
            references.Add(verse);
        }