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 | System.Object | An optional parameter that provides contextual information about the tag request. |
Returns
- System.Collections.Generic.IEnumerable<TagSnapshotRange<T>>:
The tag ranges that intersect with the specified normalized snapshot ranges.
GetTags(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
- System.Collections.Generic.IEnumerable<TagSnapshotRange<T>>:
The tag ranges that intersect with the specified snapshot ranges.
Inherited Members
- ITagAggregatorBase.TagsChanged
- System.IDisposable.Dispose()