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