The CodeGenerationBuilder type exposes the following members.

Constructors

  NameDescription
Public methodCodeGenerationBuilder
Creates a new instance.

Methods

  NameDescription
Public methodAddNamespace
Adds a code namespace containing types to compile.
Public methodAddReference(Assembly)
Adds a referenced assembly to be used in the compilation.
Public methodAddReference(String)
Adds a referenced assembly to be used in the compilation.
Public methodAddType
Adds a new type declaration to compile. If the type name already exists in the given namespace. The type is skipped!
Public methodAddTypes
Adds new type declarations to compile. If a type name already exists in the given namespace. The type is skipped!

Properties

  NameDescription
Public propertyAssemblyLocations
Added assembly locations
Public propertyNamespaces
Added namespaces

See Also