IBlockContextProvider 接口

定义

注意

Use IStructureContextProvider instead

IBlockContextSource为给定缓冲区创建。

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
属性

注解

这是一个 MEF 组件部件,应按如下所示进行导出: [Export (typeof (IBlockContextProvider) ) ] Component 导出程序必须添加 Name 和 Order 特性来定义提供程序链中提供程序的顺序。

方法

TryCreateBlockContextSourceAsync(ITextBuffer, CancellationToken)

为给定的文本缓冲区创建块上下文源。

适用于