Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Double-derived template directive processor that provides Dsl files The implementation is done in DslDirectiveProcessorBase. This class exist so users can customize behavior easily.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.TextTemplating.DirectiveProcessor
    Microsoft.VisualStudio.TextTemplating.RequiresProvidesDirectiveProcessor
      Microsoft.VisualStudio.Modeling.DslDefinition.DslDirectiveProcessorBase
        Microsoft.VisualStudio.Modeling.DslDefinition.DslDirectiveProcessor
Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public NotInheritable Class DslDirectiveProcessor _
    Inherits DslDirectiveProcessorBase
public sealed class DslDirectiveProcessor : DslDirectiveProcessorBase
public ref class DslDirectiveProcessor sealed : public DslDirectiveProcessorBase
[<Sealed>]
type DslDirectiveProcessor =  
    class 
        inherit DslDirectiveProcessorBase 
    end
public final class DslDirectiveProcessor extends DslDirectiveProcessorBase
The DslDirectiveProcessor type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DslDirectiveProcessor | Constructor | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | FinishProcessingRun | (Inherited from RequiresProvidesDirectiveProcessor.) | 
| .gif) | GetClassCodeForProcessingRun | (Inherited from RequiresProvidesDirectiveProcessor.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetImportsForProcessingRun | Return namespace imports necessary for running template (Inherited from DslDirectiveProcessorBase.) | 
| .gif) | GetPostInitializationCodeForProcessingRun | 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().) | 
| .gif) | GetPreInitializationCodeForProcessingRun | (Inherited from RequiresProvidesDirectiveProcessor.) | 
| .gif) | GetReferencesForProcessingRun | Get assembly references needed for running template (Inherited from DslDirectiveProcessorBase.) | 
| .gif) | GetTemplateClassCustomAttributes | (Inherited from DirectiveProcessor.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Initialize | (Inherited from RequiresProvidesDirectiveProcessor.) | 
| .gif) | IsDirectiveSupported | Check if the directive name is supported by this directive processor (Inherited from DslDirectiveProcessorBase.) | 
| .gif) | ProcessDirective | (Inherited from RequiresProvidesDirectiveProcessor.) | 
| .gif) | StartProcessingRun | Override StartProcessingRun to get the reference to the CodeDomProvider (Overrides DslDirectiveProcessorBase.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection).) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IDirectiveProcessor.Errors | (Inherited from DirectiveProcessor.) | 
| .gif) .gif) | IDirectiveProcessor.RequiresProcessingRunIsHostSpecific | (Inherited from DirectiveProcessor.) | 
| .gif) .gif) | IDirectiveProcessor.SetProcessingRunIsHostSpecific | (Inherited from DirectiveProcessor.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.