IndicatorTaggerBase<TTag> Class
Represents the abstract base class for providing IIndicatorTag objects over text ranges.
public abstract class IndicatorTaggerBase<TTag> : CollectionTagger<TTag>, ICollection<TagVersionRange<TTag>>, IEnumerable<TagVersionRange<TTag>>, IEnumerable, ICollectionTagger<TTag>, ITagger<TTag>, INotifyCollectionChanged, ITagger<IIndicatorTag>, ITaggerBase, IOrderable, IKeyedObject where TTag : class, IIndicatorTag
- Type Parameters:
-
TTag
-
- Inheritance:
- Object TaggerBase<TTag> CollectionTagger<TTag> Object
- Implements:
- ICollectionTagger<TTag> ITagger<TTag> ITagger<IIndicatorTag> ITaggerBase IOrderable IKeyedObject
Constructors
IndicatorTaggerBase(String, IEnumerable<Ordering>, ICodeDocument, Boolean)
Initializes a new instance of the IndicatorTaggerBase
class.
protected IndicatorTaggerBase(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. |
Methods
RaiseTagsChanged(TagsChangedEventArgs)
Raises the TagsChanged
event.
public void RaiseTagsChanged(TagsChangedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | TagsChangedEventArgs | A |
Explicit Interface Implementations
ITagger<IIndicatorTag>.GetTags(NormalizedTextSnapshotRangeCollection, Object)
Returns the tag ranges that intersect with the specified normalized snapshot ranges.
IEnumerable<TagSnapshotRange<IIndicatorTag>> ITagger<IIndicatorTag>.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<IIndicatorTag>>:
The tag ranges that intersect with the specified normalized snapshot ranges.
Inherited Members
- CollectionTagger<TTag>.Add(TagVersionRange<TTag>)
- CollectionTagger<TTag>.Add(ITextSnapshotLine, TTag)
- CollectionTagger<TTag>.Add(TextSnapshotRange, TTag)
- CollectionTagger<TTag>.Clear()
- CollectionTagger<TTag>.CreateBatch()
- CollectionTagger<TTag>.Contains(TagVersionRange<TTag>)
- CollectionTagger<TTag>.CopyTo(TagVersionRange<TTag>[], Int32)
- CollectionTagger<TTag>.FindNext(ITextSnapshotLine, ITagSearchOptions<TTag>)
- CollectionTagger<TTag>.FindNext(TextSnapshotOffset, ITagSearchOptions<TTag>)
- CollectionTagger<TTag>.GetEnumerator()
- CollectionTagger<TTag>.GetTags(NormalizedTextSnapshotRangeCollection, Object)
- CollectionTagger<TTag>.Remove(TagVersionRange<TTag>)
- CollectionTagger<TTag>.Remove(TTag)
- CollectionTagger<TTag>.RemoveAll(Predicate<TagVersionRange<TTag>>)
- CollectionTagger<TTag>.Toggle(ITextSnapshotLine, TTag)
- CollectionTagger<TTag>.Toggle(TextSnapshotRange, TTag)
- CollectionTagger<TTag>.Count
- CollectionTagger<TTag>.Item[TTag]
- CollectionTagger<TTag>.CollectionChanged
- TaggerBase<TTag>.ITaggerBase.NotifyTagAggregatorAttached(ITagAggregatorBase)
- TaggerBase<TTag>.ITaggerBase.NotifyTagAggregatorDetached(ITagAggregatorBase)
- TaggerBase<TTag>.ChangeDocument(ICodeDocument)
- TaggerBase<TTag>.Close()
- TaggerBase<TTag>.OnClosed()
- TaggerBase<TTag>.OnTagAggregatorAttached(ITagAggregatorBase)
- TaggerBase<TTag>.OnTagAggregatorDetached(ITagAggregatorBase)
- TaggerBase<TTag>.OnTagsChanged(TagsChangedEventArgs)
- TaggerBase<TTag>.Document
- TaggerBase<TTag>.Key
- TaggerBase<TTag>.Orderings
- TaggerBase<TTag>.Closed
- TaggerBase<TTag>.TagsChanged
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()