Adds a new type declaration to compile. If the type name already exists in the given namespace. The type is skipped!

Namespace: Composite.Core.Types
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public void AddType(
	string namespaceName,
	CodeTypeDeclaration codeTypeDeclaration
)
Visual Basic
Public Sub AddType ( _
	namespaceName As String, _
	codeTypeDeclaration As CodeTypeDeclaration _
)
Visual C++
public:
void AddType(
	String^ namespaceName, 
	CodeTypeDeclaration^ codeTypeDeclaration
)

Parameters

namespaceName
Type: System..::..String
Namespace to add the type to.
codeTypeDeclaration
Type: System.CodeDom..::..CodeTypeDeclaration
Type declaration to compile.

See Also