In This Article

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

See Also

Inherited Members

See Also