Compartir a través de


IBlockContextProvider Interface

Definition

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.

Applies to