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