IWpfDifferenceViewerFactoryService Interface

A service for creating IWpfDifferenceViewer objects.

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

Syntax

'Declaration
Public Interface IWpfDifferenceViewerFactoryService
public interface IWpfDifferenceViewerFactoryService
public interface class IWpfDifferenceViewerFactoryService
type IWpfDifferenceViewerFactoryService =  interface end
public interface IWpfDifferenceViewerFactoryService

The IWpfDifferenceViewerFactoryService type exposes the following members.

Methods

  Name Description
Public method CreateDifferenceView(IDifferenceBuffer, IEditorOptions)
Public method CreateDifferenceView(IDifferenceBuffer, CreateTextViewHostCallback, IEditorOptions) Create an IDifferenceViewer over the given IDifferenceBuffer, using the given callback to create the individual views (inline, left, and right).
Public method CreateDifferenceView(IDifferenceBuffer, ITextViewRoleSet, IEditorOptions) Create an IDifferenceViewer over the given IDifferenceBuffer with the given set of roles.
Public method CreateUninitializedDifferenceView Creates an IDifferenceViewer over the given IDifferenceBuffer, without initializing it.
Public method TryGetViewerForTextView If the given text view is owned by a difference viewer, retrieve that difference viewer.

Top

Remarks

This is a MEF service to be imported.

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace