Export (0) Print
Expand All

ParameterDirectiveProcessor Class

Directive processor to route simple serializable parameters from callers or the host to the template.

System.Object
  Microsoft.VisualStudio.TextTemplating.DirectiveProcessor
    Microsoft.VisualStudio.TextTemplating.ParameterDirectiveProcessor

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.12.0 (in Microsoft.VisualStudio.TextTemplating.12.0.dll)

public sealed class ParameterDirectiveProcessor : DirectiveProcessor, 
	IRecognizeHostSpecific

The ParameterDirectiveProcessor type exposes the following members.

  NameDescription
Public propertyRequiresProcessingRunIsHostSpecificThis processor does not require a host-specific template.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodFinishProcessingRunNothing to do as we complete our run. (Overrides DirectiveProcessor.FinishProcessingRun().)
Public methodGetClassCodeForProcessingRunGets generated class code. (Overrides DirectiveProcessor.GetClassCodeForProcessingRun().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetImportsForProcessingRun (Overrides DirectiveProcessor.GetImportsForProcessingRun().)
Public methodGetPostInitializationCodeForProcessingRunGet 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 methodGetPreInitializationCodeForProcessingRun (Overrides DirectiveProcessor.GetPreInitializationCodeForProcessingRun().)
Public methodGetReferencesForProcessingRun (Overrides DirectiveProcessor.GetReferencesForProcessingRun().)
Public methodGetTemplateClassCustomAttributesGet any custom attributes to put on the template class. (Inherited from DirectiveProcessor.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeWhen overridden in a derived class, initializes the processor instance. (Inherited from DirectiveProcessor.)
Public methodIsDirectiveSupported (Overrides DirectiveProcessor.IsDirectiveSupported(String).)
Public methodProcessDirective (Overrides DirectiveProcessor.ProcessDirective(String, IDictionary<String, String>).)
Public methodStartProcessingRun (Overrides DirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft