共用方式為


IWpfDifferenceViewerFactoryService Interface

Definition

A service for creating IWpfDifferenceViewers.

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

Remarks

This is a MEF service to be imported.

Methods

CreateDifferenceView(IDifferenceBuffer, CreateTextViewHostCallback, IEditorOptions)

Create an IDifferenceViewer over the given IDifferenceBuffer, using the given callback to create the individual views (inline, left, and right).

CreateDifferenceView(IDifferenceBuffer, IEditorOptions)

Create an IDifferenceViewer over the given IDifferenceBuffer.

CreateDifferenceView(IDifferenceBuffer, ITextViewRoleSet, IEditorOptions)

Create an IDifferenceViewer over the given IDifferenceBuffer with the given set of roles.

CreateUninitializedDifferenceView()

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.

Applies to