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
Public method ParameterDirectiveProcessor

Top

Properties

  Name Description
Public property RequiresProcessingRunIsHostSpecific This processor does not require a host-specific template.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FinishProcessingRun Nothing to do as we complete our run. (Overrides DirectiveProcessor.FinishProcessingRun().)
Public method GetClassCodeForProcessingRun Gets generated class code. (Overrides DirectiveProcessor.GetClassCodeForProcessingRun().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetImportsForProcessingRun (Overrides DirectiveProcessor.GetImportsForProcessingRun().)
Public method 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().)
Public method GetPreInitializationCodeForProcessingRun (Overrides DirectiveProcessor.GetPreInitializationCodeForProcessingRun().)
Public method GetReferencesForProcessingRun (Overrides DirectiveProcessor.GetReferencesForProcessingRun().)
Public method GetTemplateClassCustomAttributes Get any custom attributes to put on the template class. (Inherited from DirectiveProcessor.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize When overridden in a derived class, initializes the processor instance. (Inherited from DirectiveProcessor.)
Public method IsDirectiveSupported (Overrides DirectiveProcessor.IsDirectiveSupported(String).)
Public method ProcessDirective (Overrides DirectiveProcessor.ProcessDirective(String, IDictionary<String, String>).)
Public method StartProcessingRun (Overrides DirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.)
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.VisualStudio.TextTemplating Namespace