IKeyProcessorProvider 接口

为给定 IWpfTextViewHost 创建 KeyProcessor

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Public Interface IKeyProcessorProvider
public interface IKeyProcessorProvider
public interface class IKeyProcessorProvider
type IKeyProcessorProvider =  interface end
public interface IKeyProcessorProvider

IKeyProcessorProvider 类型公开以下成员。

方法

  名称 说明
公共方法 GetAssociatedProcessor 为给定 IWpfTextView 创建 KeyProcessor

页首

备注

这是 MEF 组件部件,应通过以下属性:

[Export(typeof(IKeyProcessorProvider))] 

导出程序必须提供 OrderAttributeNameAttribute

请参阅

参考

Microsoft.VisualStudio.Text.Editor 命名空间