private void OnBrokerChanged(object sender, BrokerStateChangedEventArgs e) {
     _shell.DispatchOnUIThread(() => UpdateWindowTitle(e.IsConnected));
 }
Ejemplo n.º 2
0
 private void OnBrokerStateChanged(object sender, BrokerStateChangedEventArgs e) {
     if (e.IsConnected) {
         BuildIndexAsync().DoNotWait();
     }
 }
Ejemplo n.º 3
0
 private void BrokerStateChanged(object sender, BrokerStateChangedEventArgs eventArgs) {
     IsConnected = eventArgs.IsConnected && _interactiveWorkflow.ActiveWindow != null;
     UpdateActiveConnection();
     ConnectionStateChanged?.Invoke(this, new ConnectionEventArgs(IsConnected, ActiveConnection));
 }
Ejemplo n.º 4
0
 private void OnBrokerStateChanged(object sender, BrokerStateChangedEventArgs e) {
     if (!e.IsConnected) {
         // Event mey fire on a background thread
         VsAppShell.Current.DispatchOnUIThread(CloseBrowser);
     }
 }