コード例 #1
0
        private void RaiseConnectionsUpdateAvailableEvent()
        {
            Runtime.MessageCollector.AddMessage(MessageClass.DebugMsg, "Remote connection update is available");
            var args = new ConnectionsUpdateAvailableEventArgs(_dbConnector, _lastDatabaseUpdateTime);

            ConnectionsUpdateAvailable?.Invoke(this, args);
        }
コード例 #2
0
        private void RaiseConnectionsUpdateAvailableEvent()
        {
            var args = new ConnectionsUpdateAvailableEventArgs(_sqlConnector, _lastDatabaseUpdateTime);

            ConnectionsUpdateAvailable?.Invoke(this, args);
            if (args.Handled)
            {
                _lastUpdateTime = _lastDatabaseUpdateTime;
            }
        }
コード例 #3
0
 private void Load(object sender, ConnectionsUpdateAvailableEventArgs args)
 {
     Load();
     args.Handled = true;
 }