IDifferenceViewerFactoryService Interface

A service for creating IDifferenceViewers.

Namespace:  Microsoft.VisualStudio.Data.Tools.Delta
Assembly:  Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)

Syntax

'Declaration
Public Interface IDifferenceViewerFactoryService
'Usage
Dim instance As IDifferenceViewerFactoryService
public interface IDifferenceViewerFactoryService
public interface class IDifferenceViewerFactoryService
type IDifferenceViewerFactoryService =  interface end
public interface IDifferenceViewerFactoryService

The IDifferenceViewerFactoryService type exposes the following members.

Methods

  Name Description
Public method CreateDifferenceView(IDifferenceBuffer) Create an IDifferenceViewer over the given IDifferenceBuffer.
Public method CreateDifferenceView(IDifferenceBuffer, CreateTextViewHostCallback) 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) Create an IDifferenceViewer over the given IDifferenceBuffer with the given set of roles.
Public method TryGetViewerForTextView If the given text view is owned by a difference viewer, retrieve that difference viewer.

Top

Events

  Name Description
Public event DifferenceViewerCreated Raised when a IDifferenceViewer is created using this factory.

Top

Remarks

This is a MEF service to be imported.

See Also

Reference

Microsoft.VisualStudio.Data.Tools.Delta Namespace