Class TaggersRegistry
Represents a registry for all taggers.
Inheritance
Inherited Members
Namespace: Telerik.Windows.SyntaxEditor.Core.Tagging
Assembly: Telerik.Windows.SyntaxEditor.Core.dll
Syntax
public class TaggersRegistry
Constructors
TaggersRegistry(ITextDocumentEditor)
Initializes a new instance of the TaggersRegistry class.
Declaration
public TaggersRegistry(ITextDocumentEditor editor)
Parameters
ITextDocumentEditor
editor
|
Methods
GetTagger<T>()
Gets a tag aggregator containing a collection of taggers for a particular tag type.
Declaration
public ITagger<T> GetTagger<T>()
where T : ITag
Returns
ITagger<T>
|
Type Parameters
T
|
GetTaggers<T>()
Returns a collection of all taggers which can handle a particular tag.
Declaration
public ISet<ITagger<T>> GetTaggers<T>()
where T : ITag
Returns
System.Collections.Generic.ISet<ITagger<T>>
|
Type Parameters
T
The type of the tag. |
IsTaggerRegistered<T>(ITagger<T>)
Gets a value indicating whether the tagger is already registered.
Declaration
public bool IsTaggerRegistered<T>(ITagger<T> tagger)
where T : ITag
Parameters
ITagger<T>
tagger
|
Returns
System.Boolean
|
Type Parameters
T
|
RegisterTagger<T>(ITagger<T>)
Registers a tagger instance.
Declaration
public void RegisterTagger<T>(ITagger<T> tagger)
where T : ITag
Parameters
ITagger<T>
tagger
|
Type Parameters
T
|
UnregisterTagger<T>(ITagger<T>)
Unregisters a tagger instance.
Declaration
public void UnregisterTagger<T>(ITagger<T> tagger)
where T : ITag
Parameters
ITagger<T>
tagger
|
Type Parameters
T
|