Click or drag to resize

CSScriptLib Namespace

 
Classes
  ClassDescription
Public classCompileInfo
The information about the location of the compiler output - assembly and pdb file.
Public classCompilerException
The exception that is thrown when a the script compiler error occurs.
Public classCSharpParser
Very light parser for C# code. The main purpose of it is to be very fast and reliable. It only extracts code information relative to the CS-Script.
Public classCSharpParserCmdScriptInfo
Class to hold the script information on what pre- or post-execution script needs to be executed. pre- and post-script CS-Script command format: //css_prescript file([arg0][, arg1]..[,arg2])[,ignore]; //file - script file (extension is optional) //arg0..N - script string arguments; If $this is specified as arg0..N it will be replaced with the parent script full name at execution time.
Public classCSharpParserImportInfo
Class to hold the script importing information, which actually controls how script is imported.
Public classCSharpParserInitInfo
Class to hold the script initialization information.
Public classCSScript
Class which is implements CS-Script class library interface.
Public classEvaluatorConfig
Class that contains configuration options for controlling dynamic code evaluation with CSScript.Evaluator.
Public classLinqExtensions
Various LINQ extensions
Public classReflectionExtensions
Various Reflection extensions
Public classRoslynEvaluator
A wrapper class that encapsulates the functionality of the Roslyn evaluator (Microsoft.CodeAnalysis.CSharp.Scripting).
Public classRuntime
A class that hosts the most common properties of the runtime environment.
Public classSettings
Settings is an class that holds CS-Script application settings.
Public classStringExtensions
Various string extensions
Interfaces
  InterfaceDescription
Public interfaceIEvaluator
A generic interface of the CS-Script evaluator. It encapsulates the generic functionality of the evaluator regardless of the nature of the underlying compiling services (e.g. Mono, Roslyn, CodeDom).
Delegates
  DelegateDescription
Public delegateMethodDelegate
Delegate which is used as a return type for AsmHelper.GetMethodInvoker(). AsmHelper.GetStaticMethod() and AsmHelper.GetMethod() allow obtaining dynamic method delegate emitted on the base of the MethodInfo (from the compiled script type).
Public delegateMethodDelegateT
Delegate which is used as a return type for AsmHelper.GetMethodInvoker(). AsmHelper.GetStaticMethod() and AsmHelper.GetMethod() allow obtaining dynamic method delegate emitted on the base of the MethodInfo (from the compiled script type).
Enumerations
  EnumerationDescription
Public enumerationDomainAssemblies
Type of the assemblies to be loaded/referenced.
Public enumerationEvaluatorAccess
Runtime instantiation model for CS-Script evaluators (e.g CSScript.Evaluator).
Public enumerationEvaluatorEngine
Type of the evaluator engine.

This enum is used to control type of compiler the generic CSScript.Evaluator encapsulates.