 | IEvaluatorReferenceAssembliesFromCode Method |
References the assemblies from the script code.
The method analyses and tries to resolve CS-Script directives (e.g. '//css_ref') and 'used' namespaces based on the
optional search directories.
Namespace:
CSScriptLib
Assembly:
CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
SyntaxIEvaluator ReferenceAssembliesFromCode(
string code,
params string[] searchDirs
)
Parameters
- code
- Type: SystemString
The script code. - searchDirs
- Type: SystemString
The assembly search/probing directories.
Return Value
Type:
IEvaluatorThe instance of the
IEvaluator to allow fluent interface.
See Also