ITextDifferencingSelectorService Interface

Definition

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.

public interface ITextDifferencingSelectorService

Examples

This is a MEF component part, and should be imported as follows:

[Import]  
            ITextDifferencingSelectorService diffService = null;  

Remarks

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.

Properties

DefaultTextDifferencingService

Gets the default ITextDifferencingService, which performs simple textual differencing.

Methods

GetTextDifferencingService(IContentType)

Gets the ITextDifferencingService for the given content type.

Applies to