ClassTaggersRegistry
Class
Represents a registry for all taggers.
Definition
Namespace:Telerik.Windows.SyntaxEditor.Core.Tagging
Assembly:Telerik.Windows.SyntaxEditor.Core.dll
Syntax:
cs-api-definition
public class TaggersRegistry
Inheritance: objectTaggersRegistry
Constructors
TaggersRegistry(ITextDocumentEditor)
Initializes a new instance of the TaggersRegistry class.
Declaration
cs-api-definition
public TaggersRegistry(ITextDocumentEditor editor)
Parameters
editor
Methods
GetTagger<T>()
Gets a tag aggregator containing a collection of taggers for a particular tag type.
GetTaggers<T>()
Returns a collection of all taggers which can handle a particular tag.
IsTaggerRegistered<T>(ITagger<T>)
Gets a value indicating whether the tagger is already registered.
RegisterTagger<T>(ITagger<T>)
Registers a tagger instance.
Declaration
cs-api-definition
public void RegisterTagger<T>(ITagger<T> tagger) where T : ITag
Parameters
tagger
ITagger<T>
UnregisterTagger<T>(ITagger<T>)
Unregisters a tagger instance.
Declaration
cs-api-definition
public void UnregisterTagger<T>(ITagger<T> tagger) where T : ITag
Parameters
tagger
ITagger<T>