Devesprit.Scripter

ScriptEngine..::..GenerateFullSourceCode Method

Using this method, you can convert your intended script to a complete source code compilable by SourceCodeCompiler class.

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

Syntax


public string GenerateFullSourceCode(
	ScriptType scriptType,
	string script
)
Public Function GenerateFullSourceCode ( _
	scriptType As ScriptType, _
	script As String _
) As String
public:
String^ GenerateFullSourceCode(
	ScriptType^ scriptType, 
	String^ script
)

Parameters

scriptType
Type: Devesprit.Scripter..::..ScriptType
Type of the script.
script
Type: String
The script.

Return Value

Compilable Source Code