Click or drag to resize

IEvaluatorReset Method

Resets Evaluator.

Resetting means clearing all referenced assemblies, recreating evaluation infrastructure (e.g. compiler setting) and reconnection to or recreation of the underlying compiling services.

Optionally the default current AppDomain assemblies can be referenced automatically with referenceDomainAssemblies.

Namespace:  CSScriptLib
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
IEvaluator Reset(
	bool referenceDomainAssemblies = true
)

Parameters

referenceDomainAssemblies (Optional)
Type: SystemBoolean
if set to true the default assemblies of the current AppDomain will be referenced (see ReferenceDomainAssemblies(DomainAssemblies) method).

Return Value

Type: IEvaluator
The freshly initialized instance of the IEvaluator.
See Also