IWpfDifferenceViewerFactoryService 介面

定義

用來建立的服務 IWpfDifferenceViewerA service for creating IWpfDifferenceViewers.

public interface class IWpfDifferenceViewerFactoryService
public interface class IWpfDifferenceViewerFactoryService
__interface IWpfDifferenceViewerFactoryService
public interface IWpfDifferenceViewerFactoryService
type IWpfDifferenceViewerFactoryService = interface
Public Interface IWpfDifferenceViewerFactoryService

備註

這是要匯入的 MEF 服務。This is a MEF service to be imported.

方法

CreateDifferenceView(IDifferenceBuffer, CreateTextViewHostCallback, IEditorOptions)

IDifferenceViewer使用指定的回呼,在指定的上建立 IDifferenceBuffer , (內嵌、左和右) 建立個別的視圖。Create an IDifferenceViewer over the given IDifferenceBuffer, using the given callback to create the individual views (inline, left, and right).

CreateDifferenceView(IDifferenceBuffer, IEditorOptions)

IDifferenceViewer在指定的上建立 IDifferenceBufferCreate an IDifferenceViewer over the given IDifferenceBuffer.

CreateDifferenceView(IDifferenceBuffer, ITextViewRoleSet, IEditorOptions)

IDifferenceViewer IDifferenceBuffer 使用指定的角色集,在指定的上建立。Create an IDifferenceViewer over the given IDifferenceBuffer with the given set of roles.

CreateUninitializedDifferenceView()

IDifferenceViewer在指定的上建立 IDifferenceBuffer ,而不將它初始化。Create an IDifferenceViewer over the given IDifferenceBuffer, without initializing it.

TryGetViewerForTextView(ITextView)

如果指定的文字視圖是由差異檢視器所擁有,請取出該差異檢視器。If the given text view is owned by a difference viewer, retrieve that difference viewer.

適用於