DslDirectiveProcessorBase Class
In dit artikel
Base implementation for template directive processor that provides Dsl files
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 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
Top
Properties
Top
Methods
Equals
Determines whether the specified object is equal to the current object. (Inherited from Object .)
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object .)
FinishProcessingRun
(Inherited from RequiresProvidesDirectiveProcessor .)
GeneratePostInitializationCode
Contribute additively to initialization code for the TextTransformation generated class. (Overrides RequiresProvidesDirectiveProcessor.GeneratePostInitializationCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>) .)
GeneratePreInitializationCode
Contribute additively to initialization code for the TextTransformation generated class. (Overrides RequiresProvidesDirectiveProcessor.GeneratePreInitializationCode(String, StringBuilder, CodeDomProvider, IDictionary<String, String>, IDictionary<String, String>) .)
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>) .)
GetClassCodeForProcessingRun
(Inherited from RequiresProvidesDirectiveProcessor .)
GetHashCode
Serves as the default hash function. (Inherited from Object .)
GetImportsForProcessingRun
Return namespace imports necessary for running template (Overrides RequiresProvidesDirectiveProcessor.GetImportsForProcessingRun() .)
GetPostInitializationCodeForProcessingRun
(Inherited from RequiresProvidesDirectiveProcessor .)
GetPreInitializationCodeForProcessingRun
(Inherited from RequiresProvidesDirectiveProcessor .)
GetReferencesForProcessingRun
Get assembly references needed for running template (Overrides RequiresProvidesDirectiveProcessor.GetReferencesForProcessingRun() .)
GetTemplateClassCustomAttributes
(Inherited from DirectiveProcessor .)
GetType
Gets the Type of the current instance. (Inherited from Object .)
Initialize
(Inherited from RequiresProvidesDirectiveProcessor .)
InitializeProvidesDictionary
Override to initialize provides dictinoary (Overrides RequiresProvidesDirectiveProcessor.InitializeProvidesDictionary(String, IDictionary<String, String>) .)
InitializeRequiresDictionary
Override to initialize requires dictionary (Overrides RequiresProvidesDirectiveProcessor.InitializeRequiresDictionary(String, IDictionary<String, String>) .)
IsDirectiveSupported
Check if the directive name is supported by this directive processor (Overrides DirectiveProcessor.IsDirectiveSupported(String) .)
MemberwiseClone
Creates a shallow copy of the current Object . (Inherited from Object .)
PostProcessArguments
Process arguments (Overrides RequiresProvidesDirectiveProcessor.PostProcessArguments(String, IDictionary<String, String>, IDictionary<String, String>) .)
ProcessDirective
(Inherited from RequiresProvidesDirectiveProcessor .)
ProvideUniqueId
(Inherited from RequiresProvidesDirectiveProcessor .)
StartProcessingRun
Override StartProcessingRun to reset the helpers flag. (Overrides RequiresProvidesDirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection) .)
ToString
Returns a string that represents the current object. (Inherited from Object .)
Top
Fields
Top
Explicit Interface Implementations
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