![]() | RoslynEvaluatorClone Method |
This method returns a freshly initialized copy of the IEvaluator. The cloning 'depth' can be controlled by the copyRefAssemblies.
This method is a convenient technique when multiple IEvaluator instances are required (e.g. for concurrent script evaluation).
Namespace: CSScriptLib
public IEvaluator Clone( bool copyRefAssemblies = true )