private void RaiseConnectionsUpdateAvailableEvent() { Runtime.MessageCollector.AddMessage(MessageClass.DebugMsg, "Remote connection update is available"); var args = new ConnectionsUpdateAvailableEventArgs(_dbConnector, _lastDatabaseUpdateTime); ConnectionsUpdateAvailable?.Invoke(this, args); }
private void RaiseConnectionsUpdateAvailableEvent() { var args = new ConnectionsUpdateAvailableEventArgs(_sqlConnector, _lastDatabaseUpdateTime); ConnectionsUpdateAvailable?.Invoke(this, args); if (args.Handled) { _lastUpdateTime = _lastDatabaseUpdateTime; } }
private void Load(object sender, ConnectionsUpdateAvailableEventArgs args) { Load(); args.Handled = true; }