Exemplo n.º 1
0
 private async Task CodeEditorMenuItemCallbackAsync(CancellationToken cancellationToken)
 {
     try {
         await _codeConversion.PasteAsAsync <CSToVBConversion>(cancellationToken);
     } catch (Exception ex) {
         await _package.ShowExceptionAsync(ex);
     }
 }
Exemplo n.º 2
0
 private async Task CodeEditorMenuItemCallbackAsync(CancellationToken cancellationToken)
 {
     try {
         await _codeConversion.PasteAsAsync <VBToCSConversion>(cancellationToken);
     } catch (Exception ex) {
         await VisualStudioInteraction.ShowExceptionAsync(ex);
     }
 }