Partager via


IKeyProcessorProvider Interface

Creates a KeyProcessor for a given IWpfTextViewHost.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Déclaration
Public Interface IKeyProcessorProvider
public interface IKeyProcessorProvider
public interface class IKeyProcessorProvider
type IKeyProcessorProvider =  interface end
public interface IKeyProcessorProvider

The IKeyProcessorProvider type exposes the following members.

Methods

  Name Description
Public method GetAssociatedProcessor Creates a KeyProcessor for a given IWpfTextView.

Top

Remarks

This is a MEF component part, and should be exported with the following attribute:

[Export(typeof(IKeyProcessorProvider))] 

Exporters must supply an OrderAttribute and an NameAttribute.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace