ITaggerBase Interface
Provides the base requirements for an object that can provide ITag objects that intersect with specified text ranges within an ICodeDocument.
public interface ITaggerBase : IOrderable, IKeyedObject
Remarks
This interface is only intended for use as a type-safe reference to any tagger without the need to specify the type of ITag. Concrete types should implement the ITagger<T> interface.
Methods
Close()
Closes the tagger and detaches it.
void Close()
NotifyTagAggregatorAttached(ITagAggregatorBase)
This method is called when the tagger is attached to an ITagAggregatorBase.
void NotifyTagAggregatorAttached(ITagAggregatorBase tagAggregator)
Parameter | Type | Description |
---|---|---|
tagAggregator | ITagAggregatorBase | The aggregator being attached. |
See Also
NotifyTagAggregatorDetached(ITagAggregatorBase)
This method is called when the tagger is detached to an ITagAggregatorBase.
void NotifyTagAggregatorDetached(ITagAggregatorBase tagAggregator)
Parameter | Type | Description |
---|---|---|
tagAggregator | ITagAggregatorBase | The aggregator being detached. |
See Also
Events
Closed
Occurs after the tagger is closed.
TagsChanged
Occurs after available tags for a specified TextSnapshotRange have changed.
Inherited Members
See Also
- ITagger<T>