This project is read-only.
With the Visual Studio Service, you get access to the active TextView or the Visual Studio service provider. The interface looks like this:

    /// <summary>
    /// Provides services for accesing core Visual Studio functionality
    /// </summary>
    public interface IVisualStudioService
    {
        /// <summary>
        /// Gets an instance of <see cref="System.IServiceProvider"/> 
        /// </summary>
        System.IServiceProvider ServiceProvider { get; }

        /// <summary>
        /// Returns the active text view where the VS Speaker control is being hosted
        /// </summary>
        /// <returns></returns>
        IWpfTextView GetActiveTextView();
    }

Last edited Dec 2, 2009 at 4:03 PM by joj, version 1

Comments

No comments yet.