IBlockContextProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use IStructureContextProvider instead
Creates a IBlockContextSource for a given buffer.
public interface class IBlockContextProvider
public interface class IBlockContextProvider
__interface IBlockContextProvider
public interface IBlockContextProvider
[System.Obsolete("Use IStructureContextProvider instead")]
public interface IBlockContextProvider
type IBlockContextProvider = interface
[<System.Obsolete("Use IStructureContextProvider instead")>]
type IBlockContextProvider = interface
Public Interface IBlockContextProvider
- Attributes
Remarks
This is a MEF component part, and should be exported as follows: [Export(typeof(IBlockContextProvider))] Component exporters must add the Name and Order attribute to define the order of the provider in the provider chain.
Methods
TryCreateBlockContextSourceAsync(ITextBuffer, CancellationToken) |
Creates a block context source for the given text buffer. |