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