Ejemplo n.º 1
0
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="textView">The text view to use</param>
        /// <param name="provider">The service provider to use</param>
        /// <param name="isCodeFile">True if this is a code file, false if not</param>
        public GoToDefinitionCommandTarget(IWpfTextView textView, GoToDefinitionTextViewCreationListener provider,
                                           bool isCodeFile)
        {
            this.textView   = textView;
            this.provider   = provider;
            this.isCodeFile = isCodeFile;
        }
        //=====================================================================

        /// <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;
        }
Ejemplo n.º 3
0
 public GoToDefinitionCommandFilter(IVsTextView textViewAdapter, ITextView textView, GoToDefinitionTextViewCreationListener provider)
     : base(textViewAdapter)
 {
     _textView = textView;
     _provider = provider;
 }
Ejemplo n.º 4
0
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="textView">The text view to use</param>
        /// <param name="provider">The service provider to use</param>
        public GoToDefinitionCommandTarget(IWpfTextView textView, GoToDefinitionTextViewCreationListener provider)
        {
            this.textView = textView;
            this.provider = provider;
        }
 public GoToDefinitionCommandFilter(IVsTextView textViewAdapter, ITextView textView, GoToDefinitionTextViewCreationListener provider)
     : base(textViewAdapter)
 {
     _textView = textView;
     _provider = provider;
 }