Method FromScriptCode
FromScriptCode(string)
When implemented by a class, loads script source from the script code.
IScriptSource FromScriptCode(string scriptCode)
Parameters
scriptCode
stringScript code to execute.
Returns
- IScriptSource
Modified IScrptSource instance
FromScriptCode(string, string)
When implemented by a class, loads script source from the script code.
IScriptSource FromScriptCode(string scriptCode, string fileName)
Parameters
scriptCode
stringScript code to execute.
fileName
stringSpecifis name if the file containing script code.
Returns
- IScriptSource
Modified IScrptSource instance