コード例 #1
0
 public void DisposalPrepare()
 {
     if (_terminalBridge != null)
     {
         _terminalBridge.DisposalPrepare();
         _terminalBridge = null;
     }
     _optionsChanged.Stop();
     _sizeChanged.Stop();
     _unblockOutput.Stop();
     ViewModel = null;
 }
コード例 #2
0
 private void _webView_NavigationStarting(WebView sender, WebViewNavigationStartingEventArgs args)
 {
     _terminalBridge = new TerminalBridge(this);
     _webView.AddWebAllowedObject("terminalBridge", _terminalBridge);
 }