Devesprit.Scripter

SourceCodeCompiler..::..CompileFromSourceCode Method

For Compiling the Source Code.

Namespace:  Devesprit.Scripter
Assembly:  Devesprit Scripter (in Devesprit Scripter.dll)

Syntax


public CompilerResult CompileFromSourceCode(
	List<string> sourceCodes,
	Language sourceLanguage,
	CompilerOptions options
)
Public Function CompileFromSourceCode ( _
	sourceCodes As List(Of String), _
	sourceLanguage As Language, _
	options As CompilerOptions _
) As CompilerResult
public:
CompilerResult^ CompileFromSourceCode(
	List<String^>^ sourceCodes, 
	Language^ sourceLanguage, 
	CompilerOptions^ options
)

Parameters

sourceCodes
Type: List<(Of <(<'String>)>)>
Is a list of strings containing the intended source code(s).
sourceLanguage
Type: Devesprit.Scripter.Compiler..::..Language
Language of the intended source code. see Language.
options
Type: Devesprit.Scripter.Compiler.Options..::..CompilerOptions
Intended options for compiling source code. see CompilerOptions.

Return Value

Compile operation result. see CompilerResult.