In This Article

IndicatorClassificationTaggerBase<TTag> Class

Represents the abstract base class for providing IIndicatorTag and IClassificationTag objects over text ranges.

public abstract class IndicatorClassificationTaggerBase<TTag> : IndicatorTaggerBase<TTag>, ICollection<TagVersionRange<TTag>>, IEnumerable<TagVersionRange<TTag>>, IEnumerable, ICollectionTagger<TTag>, ITagger<TTag>, INotifyCollectionChanged, ITagger<IIndicatorTag>, ITagger<IClassificationTag>, ITaggerBase, IOrderable, IKeyedObject where TTag : class, IIndicatorTag, IClassificationTag
Type Parameters:
TTag -
Inheritance:
Object TaggerBase<TTag> CollectionTagger<TTag> IndicatorTaggerBase<TTag> Object
Derived:
BreakpointIndicatorTagger CurrentStatementIndicatorTagger
Implements:
ICollectionTagger<TTag> ITagger<TTag> ITagger<IIndicatorTag> ITagger<IClassificationTag> ITaggerBase IOrderable IKeyedObject

Constructors

IndicatorClassificationTaggerBase(String, IEnumerable<Ordering>, ICodeDocument, Boolean)

Initializes a new instance of the IndicatorClassificationTaggerBase class.

protected IndicatorClassificationTaggerBase(string key, IEnumerable<Ordering> orderings, ICodeDocument document, bool isForLanguage)
Parameter Type Description
key String

The string-based key that identifies the object.

orderings IEnumerable<Ordering>

The collection of Ordering objects, used to determine how this object is positioned relative to other objects.

document ICodeDocument

The document to which this manager is attached.

isForLanguage Boolean

Indicates whether this tagger is for a language.
If true, the tagger is closed when the document's language changes.

Explicit Interface Implementations

ITagger<IClassificationTag>.GetTags(NormalizedTextSnapshotRangeCollection, Object)

Returns the tag ranges that intersect with the specified normalized snapshot ranges.

IEnumerable<TagSnapshotRange<IClassificationTag>> ITagger<IClassificationTag>.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<IClassificationTag>>:

The tag ranges that intersect with the specified normalized snapshot ranges.

Inherited Members