/// <summary> /// this just passes on the event to our client, who can't directly access the LexEntryFromLiftBuilder /// </summary> private void OnAfterEntryRead(object sender, LexEntryFromLiftBuilder.EntryEvent e) { if (AfterEntryRead != null) { AfterEntryRead.Invoke(sender, e); } }
public void FinishEntry(LexEntry entry) { entry.GetOrCreateId(false); if (AfterEntryRead != null) { AfterEntryRead.Invoke(entry, new EntryEvent(entry)); } // PostProcessSenses(entry); //_dataMapper.FinishCreateEntry(entry); entry.ModifiedTimeIsLocked = false; entry.Clean(); }