Click or drag to resize

EvaluatorConfig Class

Class that contains configuration options for controlling dynamic code evaluation with CSScript.Evaluator.
Inheritance Hierarchy
SystemObject
  CSScriptLibEvaluatorConfig

Namespace:  CSScriptLib
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
public class EvaluatorConfig

The EvaluatorConfig type exposes the following members.

Constructors
  NameDescription
Public methodEvaluatorConfig
Initializes a new instance of the EvaluatorConfig class
Top
Properties
  NameDescription
Public propertyAccess
Gets or sets the default access type for CS-Script evaluators.

This property controls the how the generic CS-Script evaluators are instantiated when accessed (e.g. CSScript.Evaluator or ).

Public propertyCode exampleDebugBuild
Default value of the IEvaluator. DebugBuild property controlling the generation of the debug symbols.
Examples
CSScript.EvaluatorConfig.DebugBuild = true;
dynamic script = CSScript.Evaluator
                         .LoadMethod(...
Public propertyEngine
Gets or sets the default evaluator engine type.

This property controls the type of compiler the generic CSScript.Evaluator encapsulates.

Public propertyRefernceDomainAsemblies
Flag that controls if the host AppDo,main referenced assemblies are automatically referenced at creation of IEvaluator.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also