IAccurateTagAggregator<T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Aggregates all the tag providers in a buffer graph for the specified type of tag.
generic <typename T>
where T : ITagpublic interface class IAccurateTagAggregator : IDisposable, Microsoft::VisualStudio::Text::Tagging::ITagAggregator<T>
public interface IAccurateTagAggregator<out T> : IDisposable, Microsoft.VisualStudio.Text.Tagging.ITagAggregator<out T> where T : ITag
type IAccurateTagAggregator<'T (requires 'T :> ITag)> = interface
interface ITagAggregator<'T (requires 'T :> ITag)>
interface IDisposable
Public Interface IAccurateTagAggregator(Of Out T)
Implements IDisposable, ITagAggregator(Of Out T)
Type Parameters
- T
The type of tag returned by the aggregator.
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.- Implements
Remarks
The default tag aggregator implementation also does the following: for each ITagger<T> over which it aggregates tags, if the tagger is IDisposable, call Dispose() on it when the aggregator is disposed or when the taggers are dropped. For example, you should call Dispose() when the content type of a text buffer changes or when a buffer is removed from the buffer graph.
Properties
BufferGraph |
The buffer graph over which this aggregator operates. (Inherited from ITagAggregator<T>) |
Methods
GetAllTags(IMappingSpan, CancellationToken) |
Gets all the tags that intersect the specified |
GetAllTags(NormalizedSnapshotSpanCollection, CancellationToken) |
Gets all the tags that intersect the specified |
GetAllTags(SnapshotSpan, CancellationToken) |
Gets all the tags that intersect the specified |
GetTags(IMappingSpan) |
Gets all the tags that intersect the specified |
GetTags(NormalizedSnapshotSpanCollection) |
Gets all the tags that intersect the specified |
GetTags(SnapshotSpan) |
Gets all the tags that intersect the specified |
Events
BatchedTagsChanged |
Occurs on idle after one or more TagsChanged events. (Inherited from ITagAggregator<T>) |
TagsChanged |
Occurs when tags are added to or removed from providers. (Inherited from ITagAggregator<T>) |