IDirectiveProcessor Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface for a directive processor.
public interface class IDirectiveProcessor
public interface IDirectiveProcessor
type IDirectiveProcessor = interface
Public Interface IDirectiveProcessor
- Derived
Properties
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. |
Methods
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(ITextTemplatingEngineHost) |
Initializes the processor instance. |
IsDirectiveSupported(String) |
Does this DirectiveProcessor support the given directive. |
ProcessDirective(String, IDictionary<String,String>) |
Processes a directive from a template file. |
SetProcessingRunIsHostSpecific(Boolean) |
Informs the directive processor whether the run is host-specific. |
StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection) |
Starts a round of directive processing. |