Click or drag to resize

IEvaluatorGetReferencedAssemblies Method (String, String)

Analyses the script code and returns set of locations for the assemblies referenced from the code with CS-Script directives (//css_ref).

Namespace:  CSScriptLib
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
string[] GetReferencedAssemblies(
	string code,
	params string[] searchDirs
)

Parameters

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

Return Value

Type: String
Array of the referenced assemblies
See Also