public void OnLogTableModified(ILogTable logTable, LogTableModification modification) { if (modification.Schema != null) { Dispatcher.BeginInvoke(new Action(() => OnSchemaChanged(modification.Schema))); } else if (modification.IsInvalidate) { Dispatcher.BeginInvoke(new Action(() => OnInvalidated(modification.Section))); } else { Dispatcher.BeginInvoke(new Action(() => OnAdded(modification.Section))); } }
public void EmitChanged(LogTableModification modification) { _listener.OnLogTableModified(_logTable, modification); }