ITagAggregator<T>.BatchedTagsChanged Event

 

Occurs on idle after one or more TagsChanged events.

Namespace:   Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

event EventHandler<BatchedTagsChangedEventArgs> BatchedTagsChanged

This is a batched version of the TagsChanged event. One or more TagsChanged events are accumulated and then raised as a single BatchedTagsChanged event on idle using the CurrentDispatcher that was active when the ITagAggregator<T> was created.

This event is less noisy than TagsChanged and is always raised on the thread that was active when the ITagAggregator<T> was created.

Return to top
Show: