Click or drag to resize

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
Syntax
C#
IEvaluator ReferenceAssembliesFromCode(
	string code,
	params string[] searchDirs
)

Parameters

code
Type: SystemString
The script code.
searchDirs
Type: SystemString
The assembly search/probing directories.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface.
See Also