Share via


RequiresProvidesDirectiveProcessor Members

Include Protected Members
Include Inherited Members

The abstract base class for a directive processor that defines and implements a design pattern called requires/provides.

The RequiresProvidesDirectiveProcessor type exposes the following members.

Constructors

 

Name

Description

Protected method

RequiresProvidesDirectiveProcessor

When overridden in a derived class, initializes a new instance of the RequiresProvidesDirectiveProcessor class.

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

Finishes a round of directive processing. (Overrides DirectiveProcessor.FinishProcessingRun().)

Protected method

GeneratePostInitializationCode

When overridden in a derived class, adds code to the initialization code for the generated transformation class. This code is added after the base class is initialized.

Protected method

GeneratePreInitializationCode

When overridden in a derived class, adds code to the initialization code of the generated transformation class. This code is added before the base class is initialized.

Protected method

GenerateTransformCode

When overridden in a derived class, adds code to the generated transformation class.

Public method

GetClassCodeForProcessingRun

Gets code to add to the generated transformation class. (Overrides DirectiveProcessor.GetClassCodeForProcessingRun().)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetImportsForProcessingRun

Gets namespaces to import into the generated transformation class. (Overrides DirectiveProcessor.GetImportsForProcessingRun().)

Public method

GetPostInitializationCodeForProcessingRun

Gets code to initialize when the generated transformation class is initialized, as a consequence of the most recent processing run. (Overrides DirectiveProcessor.GetPostInitializationCodeForProcessingRun().)

Public method

GetPreInitializationCodeForProcessingRun

Gets code to initialize when the generated transformation class is initialized, as a consequence of the most recent processing run. (Overrides DirectiveProcessor.GetPreInitializationCodeForProcessingRun().)

Public method

GetReferencesForProcessingRun

Gets references to pass to the compiler of the generated transformation class. (Overrides DirectiveProcessor.GetReferencesForProcessingRun().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

Initialize

Initializes an instance of the directive processor. (Overrides DirectiveProcessor.Initialize(ITextTemplatingEngineHost).)

Protected method

InitializeProvidesDictionary

When overridden in a derived class, specifies the provides parameters for each directive.

Protected method

InitializeRequiresDictionary

When overridden in a derived class, specifies the requires parameters for each directive.

Public method

IsDirectiveSupported

When overridden in a derived class, determines if the directive processor supports the specified directive. (Inherited from DirectiveProcessor.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

PostProcessArguments

When overridden in a derived class, allows derived classes to make any modifications to the parameters that they provide and require.

Public method

ProcessDirective

Processes a single directive from a text template file. (Overrides DirectiveProcessor.ProcessDirective(String, IDictionary<String, String>).)

Protected method

ProvideUniqueId

Provides an ID that identifies a call to the directive processor.

Public method

StartProcessingRun

Starts a directive processor. (Overrides DirectiveProcessor.StartProcessingRun(CodeDomProvider, String, CompilerErrorCollection).)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

Errors

Gets the errors that occurred while processing directives. (Inherited from DirectiveProcessor.)

Protected property

FriendlyName

When overridden in a derived class, gets the friendly name of the directive processor.

Protected property

Host

Gets the host that is associated with this directive processor.

Top

See Also

Reference

RequiresProvidesDirectiveProcessor Class

Microsoft.VisualStudio.TextTemplating Namespace