Method FromScriptCode
FromScriptCode(string)
Loads script source from the script code.
public virtual IScriptSource FromScriptCode(string scriptCode)
Parameters
scriptCode
stringScript 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
scriptCode
stringScript code to execute.
fileName
stringSpecifis name if the file containing script code.
Returns
- IScriptSource
Modified IScrptSource instance