Share via


DslDirectiveProcessorBase Class

Base implementation for template directive processor that provides Dsl files

Inheritance Hierarchy

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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Class DslDirectiveProcessorBase _
    Inherits RequiresProvidesDirectiveProcessor
public class DslDirectiveProcessorBase : RequiresProvidesDirectiveProcessor
public ref class DslDirectiveProcessorBase : public RequiresProvidesDirectiveProcessor
type DslDirectiveProcessorBase =  
    class 
        inherit RequiresProvidesDirectiveProcessor 
    end
public class DslDirectiveProcessorBase extends RequiresProvidesDirectiveProcessor

The DslDirectiveProcessorBase type exposes the following members.

Constructors

  Name Description
Public method DslDirectiveProcessorBase Constructor

Top

Properties

  Name Description
Protected property Errors (Inherited from DirectiveProcessor.)
Protected property FriendlyName (Overrides RequiresProvidesDirectiveProcessor.FriendlyName.)
Protected property Host (Inherited from RequiresProvidesDirectiveProcessor.)
Protected property LoadDiagramData

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FinishProcessingRun (Inherited from RequiresProvidesDirectiveProcessor.)
Protected method GeneratePostInitializationCode Contribute additively to initialization code for the TextTransformation generated class. (Overrides RequiresProvidesDirectiveProcessor.GeneratePostInitializationCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>).)
Protected method GeneratePreInitializationCode Contribute additively to initialization code for the TextTransformation generated class. (Overrides RequiresProvidesDirectiveProcessor.GeneratePreInitializationCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>).)
Protected method GenerateTransformCode Generate the code to access the model. Use to CodeDomProvider so we are language-agnostic (Overrides RequiresProvidesDirectiveProcessor.GenerateTransformCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>).)
Public method GetClassCodeForProcessingRun (Inherited from RequiresProvidesDirectiveProcessor.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetImportsForProcessingRun Return namespace imports necessary for running template (Overrides RequiresProvidesDirectiveProcessor.GetImportsForProcessingRun().)
Public method GetPostInitializationCodeForProcessingRun (Inherited from RequiresProvidesDirectiveProcessor.)
Public method GetPreInitializationCodeForProcessingRun (Inherited from RequiresProvidesDirectiveProcessor.)
Public method GetReferencesForProcessingRun Get assembly references needed for running template (Overrides RequiresProvidesDirectiveProcessor.GetReferencesForProcessingRun().)
Public method GetTemplateClassCustomAttributes (Inherited from DirectiveProcessor.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize (Inherited from RequiresProvidesDirectiveProcessor.)
Protected method InitializeProvidesDictionary Override to initialize provides dictinoary (Overrides RequiresProvidesDirectiveProcessor.InitializeProvidesDictionary(String, IDictionary<String, String>).)
Protected method InitializeRequiresDictionary Override to initialize requires dictionary (Overrides RequiresProvidesDirectiveProcessor.InitializeRequiresDictionary(String, IDictionary<String, String>).)
Public method IsDirectiveSupported Check if the directive name is supported by this directive processor (Overrides DirectiveProcessor.IsDirectiveSupported(String).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method PostProcessArguments Process arguments (Overrides RequiresProvidesDirectiveProcessor.PostProcessArguments(String, IDictionary<String, String>, IDictionary<String, String>).)
Public method ProcessDirective (Inherited from RequiresProvidesDirectiveProcessor.)
Protected method ProvideUniqueId (Inherited from RequiresProvidesDirectiveProcessor.)
Public method StartProcessingRun Override StartProcessingRun to reset the helpers flag. (Overrides RequiresProvidesDirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DslDirectiveProcessorName The friendly name of this processor.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IDirectiveProcessor.Errors (Inherited from DirectiveProcessor.)
Explicit interface implemetationPrivate property IDirectiveProcessor.RequiresProcessingRunIsHostSpecific (Inherited from DirectiveProcessor.)
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.DslDefinition Namespace