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

        /// <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 MamlLinkQuickInfoSource(SVsServiceProvider serviceProvider, ITextBuffer buffer,
                                       MamlLinkQuickInfoSourceProvider provider)
        {
            this.serviceProvider = serviceProvider;
            this.textBuffer      = buffer;
            this.provider        = provider;
        }
Ejemplo n.º 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>
        /// <param name="ctrlClickEnabled">True if Ctrl+Click on definition is enabled, false if not</param>
        public MamlLinkQuickInfoSource(SVsServiceProvider serviceProvider, ITextBuffer buffer,
                                       MamlLinkQuickInfoSourceProvider 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>
        public MamlLinkQuickInfoSource(SVsServiceProvider serviceProvider, ITextBuffer buffer,
          MamlLinkQuickInfoSourceProvider provider, bool ctrlClickEnabled)
        {
            this.serviceProvider = serviceProvider;
            this.textBuffer = buffer;
            this.provider = provider;
            this.ctrlClickEnabled = ctrlClickEnabled;
        }