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.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | DefaultTextDifferencingService | Gets the default ITextDifferencingService, which performs simple textual differencing. |
| Name | Description | |
|---|---|---|
![]() | GetTextDifferencingService(IContentType) | Gets the ITextDifferencingService for the given content type. |
The methods on this service are guaranteed never to return null. 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.
This is a MEF component part, and should be imported as follows:
[Import]
ITextDifferencingSelectorService diffService = null;

