Exemplo n.º 1
0
 public CommandTargetToOleShim(ITextView textView, ICommandTarget commandTarget)
 {
     _commandTarget = commandTarget;
     if (textView != null)
     {
         _variantStacks = CommandTargetToOleShimVariantStacks.EnsureConnected(textView);
     }
 }
Exemplo n.º 2
0
 public OleToCommandTargetShim(ITextView textView, IOleCommandTarget oleTarget)
 {
     OleTarget      = oleTarget;
     _variantStacks = CommandTargetToOleShimVariantStacks.EnsureConnected(textView);
 }