ITagAggregator<T> Interface
Provides the base requirements for an object that aggregates ITag objects from multiple ITagger<T> instances.
public interface ITagAggregator<T> : ITagAggregatorBase, IDisposable where T : ITag
- Type Parameters:
-
T
-The type of ITag associated with this aggregator.
Methods
GetTags(NormalizedTextSnapshotRangeCollection, object)
Returns the tag ranges that intersect with the specified normalized snapshot ranges.
IEnumerable<TagSnapshotRange<T>> GetTags(NormalizedTextSnapshotRangeCollection snapshotRanges, object parameter)
Parameter | Type | Description |
---|---|---|
snapshotRanges | NormalizedTextSnapshotRangeCollection | The collection of normalized snapshot ranges. |
parameter | object | An optional parameter that provides contextual information about the tag request. |
Returns
- IEnumerable<TagSnapshotRange<T>>:
The tag ranges that intersect with the specified normalized snapshot ranges.
GetTags(params TextSnapshotRange[])
Returns the tag ranges that intersect with the specified snapshot ranges.
IEnumerable<TagSnapshotRange<T>> GetTags(params TextSnapshotRange[] snapshotRanges)
Parameter | Type | Description |
---|---|---|
snapshotRanges | TextSnapshotRange[] | The array of snapshot ranges. |
Returns
- IEnumerable<TagSnapshotRange<T>>:
The tag ranges that intersect with the specified snapshot ranges.