ITextDifferencingSelectorService Interface
Used to retrieve an ITextDifferencingService for a given content type. These services may be provided by extenders and may return differences that more closely match the semantics of the given content type, instead of simple textual differencing.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Interface ITextDifferencingSelectorService
public interface ITextDifferencingSelectorService
public interface class ITextDifferencingSelectorService
type ITextDifferencingSelectorService = interface end
public interface ITextDifferencingSelectorService
The ITextDifferencingSelectorService type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultTextDifferencingService | Gets the default ITextDifferencingService, which performs simple textual differencing. |
Top
Methods
Name | Description | |
---|---|---|
GetTextDifferencingService | Gets the ITextDifferencingService for the given content type. |
Top
Remarks
The methods on this service are guaranteed never to return nulla null reference (Nothing in Visual Basic). If there isn't a specific ITextDifferencingService registered for the given content type or any of its parent types, a default service will be used, which uses the default IDifferenceService to perform simple textual differencing.
Examples
This is a MEF component part, and should be imported as follows:
[Import]
ITextDifferencingSelectorService diffService = null;