IBlockContextProvider 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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) |
为给定的文本缓冲区创建块上下文源。 |