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

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="serviceProvider">The service provider to use</param>
        /// <param name="buffer">The buffer to use</param>
        /// <param name="provider">The quick info source provider to use</param>
        public XmlCommentsLinkQuickInfoSource(SVsServiceProvider serviceProvider, ITextBuffer buffer,
          XmlCommentsLinkQuickInfoSourceProvider provider)
        {
            this.serviceProvider = serviceProvider;
            this.textBuffer = buffer;
            this.provider = provider;
        }
예제 #2
0
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="serviceProvider">The service provider to use</param>
        /// <param name="buffer">The buffer to use</param>
        /// <param name="provider">The quick info source provider to use</param>
        public XmlCommentsLinkQuickInfoSource(SVsServiceProvider serviceProvider, ITextBuffer buffer,
                                              XmlCommentsLinkQuickInfoSourceProvider provider)
        {
            this.serviceProvider = serviceProvider;
            this.textBuffer      = buffer;
            this.provider        = provider;
        }
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="serviceProvider">The service provider to use</param>
        /// <param name="buffer">The buffer to use</param>
        /// <param name="provider">The quick info source provider to use</param>
        /// <param name="ctrlClickEnabled">True if Ctrl+Click on definition is enabled, false if not</param>
        public XmlCommentsLinkQuickInfoSource(SVsServiceProvider serviceProvider, ITextBuffer buffer,
                                              XmlCommentsLinkQuickInfoSourceProvider provider, bool ctrlClickEnabled)
        {
            this.serviceProvider  = serviceProvider;
            this.textBuffer       = buffer;
            this.provider         = provider;
            this.ctrlClickEnabled = ctrlClickEnabled;
        }
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="serviceProvider">The service provider to use</param>
        /// <param name="buffer">The buffer to use</param>
        /// <param name="provider">The quick info source provider to use</param>
        /// <param name="ctrlClickEnabled">True if Ctrl+Click on definition is enabled, false if not</param>
        /// <param name="enableInCRef">True to enable in <c>cref</c> targets, false if not</param>
        public XmlCommentsLinkQuickInfoSource(SVsServiceProvider serviceProvider, ITextBuffer buffer,
          XmlCommentsLinkQuickInfoSourceProvider provider, bool ctrlClickEnabled, bool enableInCRef)
        {
            this.serviceProvider = serviceProvider;
            this.textBuffer = buffer;
            this.provider = provider;
            this.ctrlClickEnabled = ctrlClickEnabled;
            this.enableInCRef = enableInCRef;
        }