Provides an ICode
- Type Parameters:
-
TTagger
-The Type of ITagger<T> that this provider creates. The tagger type must have a constructor that accepts a single ICode
Document instance parameter.
- Inheritance:
-
object
Tagger
Provider <TTagger> objectBase
- Derived:
- TokenTaggerProvider<TTagger>
- Implements:
-
ICode
Document Tagger Provider
Constructors
CodeDocumentTaggerProvider()
Initializes a new instance of the CodeDocumentTaggerProvider
class.
CodeDocumentTaggerProvider(object)
Initializes a new instance of the CodeDocumentTaggerProvider
class.
Parameter | Type | Description |
---|---|---|
singletonKey | object | When a non-null value is passed, the tagger will be stored as a singleton under the specified key in the document's properties. |
Methods
GetTagger<T>(ICodeDocument)
Returns an ITagger<T> for the specified ICode
- Type Parameters:
-
T
-The type of ITag created by the tagger.
Parameter | Type | Description |
---|---|---|
document | ICode |
The ICode |
Returns
- ITagger<T>:
An ITagger<T> for the specified ICode
Document .