ITagger<T> Interface
Provides the base requirements for an object that can provide ITag objects that intersect with specified text ranges within an ICodeDocument.
public interface ITagger<T> : ITaggerBase, IOrderable, IKeyedObject where T : ITag
- Type Parameters:
-
T
-The type of tag associated with this tagger.
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.
Inherited Members
- ITaggerBase.Close()
- ITaggerBase.NotifyTagAggregatorAttached(ITagAggregatorBase)
- ITaggerBase.NotifyTagAggregatorDetached(ITagAggregatorBase)
- ITaggerBase.Closed
- ITaggerBase.TagsChanged
- IOrderable.Orderings
- IKeyedObject.Key