IBlockContextProvider Interface

Definition

Caution

Use IStructureContextProvider instead

Creates a IBlockContextSource for a given buffer.

C++/CX
public interface class 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.

Applies to

Product Versions (Obsolete)
Visual Studio SDK 2015 (2017, 2019)