GetCodeTypeDeclaration Method
Collapse the table of content
Expand the table of content

ActivityCodeGenerator.GetCodeTypeDeclaration Method (CodeGenerationManager, String)

 

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

Namespace:   System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected CodeTypeDeclaration GetCodeTypeDeclaration(
	CodeGenerationManager manager,
	string fullClassName
)

Parameters

manager
Type: System.Workflow.ComponentModel.Compiler.CodeGenerationManager

The CodeGenerationManager to use in the code generation.

fullClassName
Type: System.String

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

Return Value

Type: System.CodeDom.CodeTypeDeclaration

The CodeTypeDeclaration for the workflow that is currently being compiled.

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft