//=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="textView">The text view to use</param>
        /// <param name="provider">The service provider to use</param>
        /// <param name="enableInCRef">True to enable in <c>cref</c> targets, false if not</param>
        /// <param name="isCodeFile">True if this is a code file, false if not</param>
        public GoToDefinitionCommandTarget(IWpfTextView textView, GoToDefinitionTextViewCreationListener provider,
          bool enableInCRef, bool isCodeFile)
        {
            this.textView = textView;
            this.provider = provider;
            this.enableInCRef = enableInCRef;
            this.isCodeFile = isCodeFile;
        }
 public GoToDefinitionCommandFilter(IVsTextView textViewAdapter, ITextView textView, GoToDefinitionTextViewCreationListener provider)
     : base(textViewAdapter)
 {
     _textView = textView;
     _provider = provider;
 }