ScriptParser.CreateScriptEngine
Creates an instance of a script engine with default configuration settings set and the abililty to quickly specify addition references and namespaces.
You can pass this to ExecuteScript()/ExecuteScriptAsync()
public CSharpScriptExecution CreateScriptEngine(String[] references, String[] namespaces, Type[] referenceTypes)
Parameters
references
optional list of string assembly file names
namespaces
optional list of name spaces
referenceTypes
optional list of reference types