Udostępnij za pośrednictwem


IViewClassifierAggregatorService Interface

Definition

A service that returns an IClassifier that aggregates and normalizes all IClassifier contributions for all ITextBuffers in the buffer graph of a particular ITextView.

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

Remarks

The normalized classifications produced by this aggregator are sorted and do not overlap. If a span of text had multiple classifications based on the original classifier contributions, then in the normalized classification it has a transient classification (IClassificationTypeRegistryService) that corresponds to all of the original classifications.

Classifier aggregators are cached for each ITextBuffer and ITextView combination.

Methods

GetClassifier(ITextView)

Gets the cached IClassifier for the given ITextView. If one does not exist, an IClassifier will be created and cached for each ITextBuffer in the view's buffer graph.

Applies to