Click or drag to resize

ClassBuilderClassFromString Method (String, NetLanguage)

Compiles the source code passed and returns the FIRST Type of the assembly.

Namespace:  FileHelpers.Dynamic
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public static Type ClassFromString(
	string classStr,
	NetLanguage lang
)

Parameters

classStr
Type: SystemString
The Source Code of the class in the specified language
lang
Type: FileHelpersNetLanguage
One of the .NET Languages

Return Value

Type: Type
The Type generated by runtime compilation of the class source.
See Also