ParameterDirectiveProcessor Class
Directive processor to route simple serializable parameters from callers or the host to the template.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TextTemplating.DirectiveProcessor
Microsoft.VisualStudio.TextTemplating.ParameterDirectiveProcessor
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.11.0 (in Microsoft.VisualStudio.TextTemplating.11.0.dll)
Syntax
'Declaration
Public NotInheritable Class ParameterDirectiveProcessor _
Inherits DirectiveProcessor _
Implements IRecognizeHostSpecific
public sealed class ParameterDirectiveProcessor : DirectiveProcessor,
IRecognizeHostSpecific
public ref class ParameterDirectiveProcessor sealed : public DirectiveProcessor,
IRecognizeHostSpecific
[<Sealed>]
type ParameterDirectiveProcessor =
class
inherit DirectiveProcessor
interface IRecognizeHostSpecific
end
public final class ParameterDirectiveProcessor extends DirectiveProcessor implements IRecognizeHostSpecific
The ParameterDirectiveProcessor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ParameterDirectiveProcessor |
Top
Properties
Name | Description | |
---|---|---|
RequiresProcessingRunIsHostSpecific | This processor does not require a host-specific template. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FinishProcessingRun | Nothing to do as we complete our run. (Overrides DirectiveProcessor.FinishProcessingRun().) | |
GetClassCodeForProcessingRun | Gets generated class code. (Overrides DirectiveProcessor.GetClassCodeForProcessingRun().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetImportsForProcessingRun | (Overrides DirectiveProcessor.GetImportsForProcessingRun().) | |
GetPostInitializationCodeForProcessingRun | Get the code to contribute to the body of the initialize method of the generated template processing class as a consequence of the most recent run. This code will run after the base class' Initialize method (Overrides DirectiveProcessor.GetPostInitializationCodeForProcessingRun().) | |
GetPreInitializationCodeForProcessingRun | (Overrides DirectiveProcessor.GetPreInitializationCodeForProcessingRun().) | |
GetReferencesForProcessingRun | (Overrides DirectiveProcessor.GetReferencesForProcessingRun().) | |
GetTemplateClassCustomAttributes | Get any custom attributes to put on the template class. (Inherited from DirectiveProcessor.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | When overridden in a derived class, initializes the processor instance. (Inherited from DirectiveProcessor.) | |
IsDirectiveSupported | (Overrides DirectiveProcessor.IsDirectiveSupported(String).) | |
ProcessDirective | (Overrides DirectiveProcessor.ProcessDirective(String, IDictionary<String, String>).) | |
StartProcessingRun | (Overrides DirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDirectiveProcessor.Errors | (Inherited from DirectiveProcessor.) | |
IDirectiveProcessor.RequiresProcessingRunIsHostSpecific | (Inherited from DirectiveProcessor.) | |
IDirectiveProcessor.SetProcessingRunIsHostSpecific | (Inherited from DirectiveProcessor.) | |
IRecognizeHostSpecific.SetProcessingRunIsHostSpecific |
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.