Partilhar via


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 just simple textual differencing.

public interface class ITextDifferencingSelectorService
public interface class ITextDifferencingSelectorService
__interface ITextDifferencingSelectorService
public interface ITextDifferencingSelectorService
type ITextDifferencingSelectorService = interface
Public Interface ITextDifferencingSelectorService

Remarks

This is a MEF component part, and should be imported as follows: [Import] ITextDifferencingSelectorService diffService = null;

The methods on this service are guaranteed to never 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 will use the default IDifferenceService to perform simple textual differencing.

Properties

DefaultTextDifferencingService

Gets the default (fallback) ITextDifferencingService, which performs simple textual differencing.

Methods

GetTextDifferencingService(IContentType)

Get the ITextDifferencingService for the given content type.

Applies to