Sdílet prostřednictvím


IClassifierAggregatorService Interface

Definition

A service that returns an IClassifier that aggregates and normalizes all IClassifier contributions for a ITextBuffer.

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

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 object.

Methods

GetClassifier(ITextBuffer)

Gets the cached IClassifier for the given ITextBuffer.
If one does not exist, an IClassifier will be created and cached with the given ITextBuffer.

Applies to