DslDirectiveProcessor Class

 

Double-derived template directive processor that provides Dsl files The implementation is done in DslDirectiveProcessorBase. This class exist so users can customize behavior easily.

Namespace:   Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)


public ref class DslDirectiveProcessor sealed : DslDirectiveProcessorBase

NameDescription
System_CAPS_pubmethodDslDirectiveProcessor()

Constructor

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodFinishProcessingRun()
System_CAPS_pubmethodGetClassCodeForProcessingRun()
System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetImportsForProcessingRun()

Return namespace imports necessary for running template(Inherited from DslDirectiveProcessorBase.)

System_CAPS_pubmethodGetPostInitializationCodeForProcessingRun()

Override GetPostInitializationCodeForProcessingRun to surround all file loads with a top-level transaction. We do this so that the moniker cache does not get flushed after each file is loaded, so that cross-model monikers can be resolved by loading both models in T4 using directives.(Overrides RequiresProvidesDirectiveProcessor::GetPostInitializationCodeForProcessingRun().)

System_CAPS_pubmethodGetPreInitializationCodeForProcessingRun()
System_CAPS_pubmethodGetReferencesForProcessingRun()

Get assembly references needed for running template(Inherited from DslDirectiveProcessorBase.)

System_CAPS_pubmethodGetTemplateClassCustomAttributes()

(Inherited from DirectiveProcessor.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize(ITextTemplatingEngineHost^)
System_CAPS_pubmethodIsDirectiveSupported(String^)

Check if the directive name is supported by this directive processor(Inherited from DslDirectiveProcessorBase.)

System_CAPS_pubmethodProcessDirective(String^, IDictionary<String^, String^>^)
System_CAPS_pubmethodStartProcessingRun(CodeDomProvider^, String^, CompilerErrorCollection^)

Override StartProcessingRun to get the reference to the CodeDomProvider(Overrides DslDirectiveProcessorBase::StartProcessingRun(CodeDomProvider^, String^, CompilerErrorCollection^).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: