IEditorCommandHandlerServiceFactory 接口

定义

一个工厂 IEditorCommandHandlerService ,用于执行给定文本视图中的命令。

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

注解

这是一个 MEF 组件,应导入为 [Import] 专用 IEditorCommandHandlerServiceFactory 工厂;

方法

GetService(ITextView)

获取或创建 IEditorCommandHandlerService 给定的实例 ITextView

GetService(ITextView, ITextBuffer)

为给定的和创建新的 IEditorCommandHandlerService 实例 ITextView ITextBuffer

适用于