Method FromScriptCode
- Namespace
 - Alternet.Scripter.IronPython
 
- Assembly
 - Alternet.Scripter.IronPython.v10.dll
 
FromScriptCode(string)
Loads script source from the script code.
public virtual IScriptSource FromScriptCode(string scriptCode)
Parameters
scriptCodestringScript code to execute.
Returns
- IScriptSource
 Modified IScrptSource instance
FromScriptCode(string, string)
Loads script source from the script code.
public virtual IScriptSource FromScriptCode(string scriptCode, string fileName)
Parameters
scriptCodestringScript code to execute.
fileNamestringSpecifis name if the file containing script code.
Returns
- IScriptSource
 Modified IScrptSource instance