IDirectiveProcessor Interface
Interface for a directive processor.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.Interfaces.11.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll)
Syntax
'Declaration
Public Interface IDirectiveProcessor
public interface IDirectiveProcessor
public interface class IDirectiveProcessor
type IDirectiveProcessor = interface end
public interface IDirectiveProcessor
The IDirectiveProcessor type exposes the following members.
Properties
Name | Description | |
---|---|---|
Errors | Error collection for DirectiveProcessor to add errors/warnings to. | |
RequiresProcessingRunIsHostSpecific | Allow a directive processor to specify that it needs the run to be host-specific. |
Top
Methods
Name | Description | |
---|---|---|
FinishProcessingRun | Finishes a round of directive processing. | |
GetClassCodeForProcessingRun | Gets the code to contribute to the generated template processing class because of the most recent run. | |
GetImportsForProcessingRun | Gets any namespaces to import because of the most recent run. | |
GetPostInitializationCodeForProcessingRun | Gets the code to contribute to the body of the initialize method of the generated template processing class because of the most recent run. This code will run after the base class' Initialize method. | |
GetPreInitializationCodeForProcessingRun | Gets the code to contribute to the body of the initialize method of the generated template processing class because of the most recent run. This code will run before the base class' Initialize method. | |
GetReferencesForProcessingRun | Gets any references to pass to the compiler because of the most recent run. | |
GetTemplateClassCustomAttributes | Gets any custom attributes to include on the template class. | |
Initialize | Initializes the processor instance. | |
IsDirectiveSupported | Does this DirectiveProcessor support the given directive. | |
ProcessDirective | Processes a directive from a template file. | |
SetProcessingRunIsHostSpecific | Informs the directive processor whether the run is host-specific. | |
StartProcessingRun | Starts a round of directive processing. |
Top