Partilhar via


IEditorCommandHandlerServiceFactory Interface

Definition

A factory producing IEditorCommandHandlerService used to execute commands in a given text view.

public interface class IEditorCommandHandlerServiceFactory
public interface IEditorCommandHandlerServiceFactory
type IEditorCommandHandlerServiceFactory = interface
Public Interface IEditorCommandHandlerServiceFactory

Remarks

This is a MEF component and should be imported as

[Import] private IEditorCommandHandlerServiceFactory factory;

Methods

GetService(ITextView, ITextBuffer)

Creates a new IEditorCommandHandlerService instance for a given ITextView and ITextBuffer.

GetService(ITextView)

Gets or creates an IEditorCommandHandlerService instance for a given ITextView.

Applies to