ActivityCodeGenerator.GetCodeTypeDeclaration Method

Definition

Returns the code type declaration for the workflow that is currently being compiled.

protected:
 System::CodeDom::CodeTypeDeclaration ^ GetCodeTypeDeclaration(System::Workflow::ComponentModel::Compiler::CodeGenerationManager ^ manager, System::String ^ fullClassName);
protected System.CodeDom.CodeTypeDeclaration GetCodeTypeDeclaration (System.Workflow.ComponentModel.Compiler.CodeGenerationManager manager, string fullClassName);
member this.GetCodeTypeDeclaration : System.Workflow.ComponentModel.Compiler.CodeGenerationManager * string -> System.CodeDom.CodeTypeDeclaration
Protected Function GetCodeTypeDeclaration (manager As CodeGenerationManager, fullClassName As String) As CodeTypeDeclaration

Parameters

manager
CodeGenerationManager

The CodeGenerationManager to use in the code generation.

fullClassName
String

The fully qualified class name of the workflow that is currently being compiled.

Returns

The CodeTypeDeclaration for the workflow that is currently being compiled.

Remarks

The code type declaration is looked up in the CodeDOM statements that are already generated by preceding code generators. Alternatively, the user can use CodeGenerationManager directly to perform the necessary lookup.

Applies to