Compartilhar via


IVsDifferenceCodeWindowFactoryService Interface

A factory service for creating difference code windows on arbitrary strings or snapshot spans.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

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

Methods

  Name Description
Public method CreateComparisonCodeWindow(IServiceProvider, IVsTextLines, IVsTextLines, String) Creates an IVsDifferenceCodeWindow showing the differences between two strings or SnapshotSpans.
Public method CreateComparisonCodeWindow(IServiceProvider, String, String, String, __VSDIFFSERVICEOPTIONS) Creates an IVsDifferenceCodeWindow showing the differences between two strings or SnapshotSpans.

Top

Remarks

This is a MEF Component and can be imported as follows:

[Import]
            IVsDifferenceCodeWindowFactoryService  differenceCodeWindowFactoryService;

See Also

Reference

Microsoft.VisualStudio.Editor Namespace