diff --git a/help.txt b/help.txt index 217618b5..abfc14fa 100644 --- a/help.txt +++ b/help.txt @@ -1,4 +1,4 @@ -C# Script execution engine (.NET Core). Version 4.4.4.0. +C# Script execution engine (.NET Core). Version 4.4.5.0. Copyright (C) 2004-2020 Oleg Shilo. @@ -15,8 +15,8 @@ Copyright (C) 2004-2020 Oleg Shilo. (e.g. `-help cli:md`) - output file for the help content - Reversed order of parameters for the command specific help is also acceptable. The all following argument - combinations print the same help topic for 'cache' command: + Reversed order of parameters for the command specific help is also acceptable. The all following + argument combinations print the same help topic for 'cache' command: -help cache -? cache @@ -31,7 +31,8 @@ Copyright (C) 2004-2020 Oleg Shilo. -c[:<0|1>] Executes compiled script cache (e.g. /script.cs.dll) if found. - This command improves performance by avoiding compiling the script if it was not changed since last execution. + This command improves performance by avoiding compiling the script if it was not changed since + last execution. -c:1|-c - enable caching -c:0 - disable caching (which might be enabled globally) @@ -50,17 +51,17 @@ Copyright (C) 2004-2020 Oleg Shilo. -vs|-vs:init [index_of_detected_VS_executable] Generates .NET project file and opens it in Visual Studio. - The path to the Visual Studio executable (devenv.exe) needs to be defined in the environment variable - `CSSCRIPT_VSEXE`. - You can let CS-Script to detect installed Visual Studio executable and interactively select the detected - executable for integrating it with CS-Script by using `-vs:init` option. + The path to the Visual Studio executable (devenv.exe) needs to be defined in the environment + variable `CSSCRIPT_VSEXE`. + You can let CS-Script to detect installed Visual Studio executable and interactively select the + detected executable for integrating it with CS-Script by using `-vs:init` option. Alternatively you can even ask to integrate the first detected executable with: cscs -vs:init 0) -vscode Generates .NET project file and opens it in Visual Studio Code. - The path to the Visual Studio Code executable (code.exe) needs to be defined in the environment variable - `CSSCRIPT_VSCODEEXE`. + The path to the Visual Studio Code executable (code.exe) needs to be defined in the environment + variable `CSSCRIPT_VSCODEEXE`. -cache[:] Performs script cache operations. @@ -77,32 +78,34 @@ Copyright (C) 2004-2020 Oleg Shilo. -ng|-engine:] Forces compilation to be done by one of the supported .NET engines. - `dotnet` - dotnet.exe compiler; this is the most versatile compilation engine though it does have a startup - overhead when running the script for the first time. It requires .NET SDK to be installed on the target - system. + `dotnet` - dotnet.exe compiler; this is the most versatile compilation engine though it does have + a startup overhead when running the script for the first time. It requires .NET SDK to + be installed on the target system. - `csc` - csc.exe compiler; the fastest compiler available. It is not suitable for WPF scripts as csc.exe cannot - compile XAML. - The compilation is performed in the separate child process build.exe which is somewhat equivalent to - VBCSCompiler.exe (build server) from .NET toolset. It requires .NET SDK to be installed on the target - system. - CS-Script communicates with build.exe build server via socket (default port 17001). You can control port - value via the environment variable 'CSS_BUILDSERVER_CSC_PORT' - Value `csc-inproc` will suppress spinning off an build server process and .NET csc.exe will be called - directly instead. This option convenient when socket communication is undesirable for whatever reason. - Though in this case all the performance benefits of `-ng:csc` will be lost and then you are better off - using `-ng:dotnet` instead. + `csc` - csc.exe compiler; the fastest compiler available. It is not suitable for WPF scripts as + csc.exe cannot compile XAML. + The compilation is performed in the separate child process build.exe which is somewhat + equivalent to VBCSCompiler.exe (build server) from .NET toolset. It requires .NET SDK + to be installed on the target system. + CS-Script communicates with build.exe build server via socket (default port 17001). You + can control port value via the environment variable 'CSS_BUILDSERVER_CSC_PORT' + Value `csc-inproc` will suppress spinning off an build server process and .NET csc.exe + will be called directly instead. This option convenient when socket communication is + undesirable for whatever reason. Though in this case all the performance benefits of + `-ng:csc` will be lost and then you are better off using `-ng:dotnet` instead. - `roslyn` - Microsoft.CodeAnalysis.CSharp.Scripting.dll compiler; this is the most portable compilation engine. It - does not require .NET SDK being installed. Though it does have limitations (see documentation). - The compilation is performed in the separate child process cscs (another instance of script engine) - which is somewhat equivalent of VBCSCompiler.exe (build server) from .NET toolset. - CS-Script communicates with cscs build server via socket (default port 17002). You can control port - value via the environment variable 'CSS_BUILDSERVER_ROSLYN_PORT' - Value `roslyn-inproc` will suppress spinning off an external process and Roslyn compiler will be hosted - in the original process of script engine instead. This option is convenient when socket communication - is undesirable for whatever reason. Though in this case performance will be effected on the first run - of the script. + `roslyn` - Microsoft.CodeAnalysis.CSharp.Scripting.dll compiler; this is the most portable + compilation engine. It does not require .NET SDK being installed. Though it does have + limitations (see documentation). + The compilation is performed in the separate child process cscs (another instance of + script engine) which is somewhat equivalent of VBCSCompiler.exe (build server) from + .NET toolset. + CS-Script communicates with cscs build server via socket (default port 17002). You can + control port value via the environment variable 'CSS_BUILDSERVER_ROSLYN_PORT' + Value `roslyn-inproc` will suppress spinning off an external process and Roslyn + compiler will be hosted in the original process of script engine instead. This option + is convenient when socket communication is undesirable for whatever reason. Though in + this case performance will be effected on the first run of the script. (e.g. cscs -engine:dotnet sample.cs @@ -129,7 +132,8 @@ Copyright (C) 2004-2020 Oleg Shilo. wpf WPF script application wpf-cm Caliburn.Micro based WPF script application toplevel|top Top-level class script application with no entry point - toplevel-x Top-level class script application with no entry point an advanced CS-Script integration samples. + toplevel-x Top-level class script application with no entry point an advanced CS-Script + integration samples. Legacy templates: auto Auto-class (classless) script application; use 'toplevel' instead @@ -148,19 +152,20 @@ Copyright (C) 2004-2020 Oleg Shilo. cscs -code "Console.WriteLine(Environment.UserDomainName);#nConsole.WriteLine(#''%USERNAME%#'');" - cscs -code "using System.Linq;#nSystem.Diagnostics.Process.GetProcessesByName(''notepad'').ToList().ForEach(x => + cscs -code "using + System.Linq;#nSystem.Diagnostics.Process.GetProcessesByName(''notepad'').ToList().ForEach(x => x.Kill());" cscs -code "SetEnvironmentVariable(`ntp`,`notepad.exe`, EnvironmentVariableTarget.Machine)" - The -code argument must be the last argument in the command. The only argument that is allowed after the `

Parameters

code
Type: SystemString
The C# code.

Type Parameters

T
The delegate return type.

Return Value

Type: MethodDelegateT
The instance of a typed MethodDelegateT

Implements

IEvaluatorCreateDelegateT(String)
Examples
var product = CSScript.RoslynEvaluator
diff --git a/src/CSScriptLib.Doc/Help/html/00a902da-a4b5-9520-794a-271520c93b86.htm b/src/CSScriptLib.Doc/Help/html/00a902da-a4b5-9520-794a-271520c93b86.htm
index e24c1050..8bb42ad5 100644
--- a/src/CSScriptLib.Doc/Help/html/00a902da-a4b5-9520-794a-271520c93b86.htm
+++ b/src/CSScriptLib.Doc/Help/html/00a902da-a4b5-9520-794a-271520c93b86.htm
@@ -7,7 +7,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator ReferenceAssemblyByNamespace(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator ReferenceAssemblyByNamespace(
 	string namespace
 )

Parameters

namespace
Type: SystemString
The namespace.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/01b5c926-81be-482d-f638-9b5bc1b3750d.htm b/src/CSScriptLib.Doc/Help/html/01b5c926-81be-482d-f638-9b5bc1b3750d.htm index 70df1f64..dcc15f8b 100644 --- a/src/CSScriptLib.Doc/Help/html/01b5c926-81be-482d-f638-9b5bc1b3750d.htm +++ b/src/CSScriptLib.Doc/Help/html/01b5c926-81be-482d-f638-9b5bc1b3750d.htm @@ -7,4 +7,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static char[] DirectiveDelimiters

Field Value

Type: Char
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static char[] DirectiveDelimiters

Field Value

Type: Char
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/029486a5-618c-7793-27a9-9f63db5235c1.htm b/src/CSScriptLib.Doc/Help/html/029486a5-618c-7793-27a9-9f63db5235c1.htm index 8c5a8ec1..54a66e5a 100644 --- a/src/CSScriptLib.Doc/Help/html/029486a5-618c-7793-27a9-9f63db5235c1.htm +++ b/src/CSScriptLib.Doc/Help/html/029486a5-618c-7793-27a9-9f63db5235c1.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] SaveImportedScripts()

Return Value

Type: String
Collection of the saved imported scripts file names
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] SaveImportedScripts()

Return Value

Type: String
Collection of the saved imported scripts file names
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/040d16e1-d772-f814-a4aa-f374b2a6f307.htm b/src/CSScriptLib.Doc/Help/html/040d16e1-d772-f814-a4aa-f374b2a6f307.htm index ba248be5..ef5a1b4f 100644 --- a/src/CSScriptLib.Doc/Help/html/040d16e1-d772-f814-a4aa-f374b2a6f307.htm +++ b/src/CSScriptLib.Doc/Help/html/040d16e1-d772-f814-a4aa-f374b2a6f307.htm @@ -1,10 +1,10 @@ -EvaluatorBase(T).CompileAssemblyFromCode Method

EvaluatorBaseTCompileAssemblyFromCode Method

+EvaluatorBase(T).CompileAssemblyFromCode Method

EvaluatorBaseTCompileAssemblyFromCode Method

Compiles C# code (script) into assembly file. The C# code is a typical C# code containing a single or multiple class definition(s).

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string CompileAssemblyFromCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string CompileAssemblyFromCode(
 	string scriptText,
 	string outputFile
 )

Parameters

scriptText
Type: SystemString
The C# script text.
outputFile
Type: SystemString
The path to the assembly file to be compiled.

Return Value

Type: String
The compiled assembly file path.

Implements

IEvaluatorCompileAssemblyFromCode(String, String)
Examples
string asmFile = CSScript.Evaluator
diff --git a/src/CSScriptLib.Doc/Help/html/04267330-9586-d49c-1d7d-626faf002123.htm b/src/CSScriptLib.Doc/Help/html/04267330-9586-d49c-1d7d-626faf002123.htm
index edccdc71..aa9c69ca 100644
--- a/src/CSScriptLib.Doc/Help/html/04267330-9586-d49c-1d7d-626faf002123.htm
+++ b/src/CSScriptLib.Doc/Help/html/04267330-9586-d49c-1d7d-626faf002123.htm
@@ -8,4 +8,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string DesktopAssembliesDir { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string DesktopAssembliesDir { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/04ccf43b-fc41-47f1-8aa0-3ddb100810ed.htm b/src/CSScriptLib.Doc/Help/html/04ccf43b-fc41-47f1-8aa0-3ddb100810ed.htm index a9532148..5cd15f1f 100644 --- a/src/CSScriptLib.Doc/Help/html/04ccf43b-fc41-47f1-8aa0-3ddb100810ed.htm +++ b/src/CSScriptLib.Doc/Help/html/04ccf43b-fc41-47f1-8aa0-3ddb100810ed.htm @@ -8,4 +8,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetScriptTempDir()

Return Value

Type: String
Temporary directory name.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetScriptTempDir()

Return Value

Type: String
Temporary directory name.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/05b664a3-88ca-72d6-5044-47dd9fab6366.htm b/src/CSScriptLib.Doc/Help/html/05b664a3-88ca-72d6-5044-47dd9fab6366.htm index 64c691ce..c0772235 100644 --- a/src/CSScriptLib.Doc/Help/html/05b664a3-88ca-72d6-5044-47dd9fab6366.htm +++ b/src/CSScriptLib.Doc/Help/html/05b664a3-88ca-72d6-5044-47dd9fab6366.htm @@ -6,4 +6,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool DisableReferencingFromCode { get; set; }

Property Value

Type: Boolean

Implements

IEvaluatorDisableReferencingFromCode
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool DisableReferencingFromCode { get; set; }

Property Value

Type: Boolean

Implements

IEvaluatorDisableReferencingFromCode
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/072ae394-3f5d-317f-314d-8daaf95a02a6.htm b/src/CSScriptLib.Doc/Help/html/072ae394-3f5d-317f-314d-8daaf95a02a6.htm index 346477d7..7b532f65 100644 --- a/src/CSScriptLib.Doc/Help/html/072ae394-3f5d-317f-314d-8daaf95a02a6.htm +++ b/src/CSScriptLib.Doc/Help/html/072ae394-3f5d-317f-314d-8daaf95a02a6.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public T LoadFile<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public T LoadFile<T>(
 	string scriptFile,
 	params Object[] args
 )
diff --git a/src/CSScriptLib.Doc/Help/html/08d67670-da7a-16d5-b0ce-fa566823a909.htm b/src/CSScriptLib.Doc/Help/html/08d67670-da7a-16d5-b0ce-fa566823a909.htm
index c29614ff..34266ad0 100644
--- a/src/CSScriptLib.Doc/Help/html/08d67670-da7a-16d5-b0ce-fa566823a909.htm
+++ b/src/CSScriptLib.Doc/Help/html/08d67670-da7a-16d5-b0ce-fa566823a909.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public List<string> Items { get; set; }

Property Value

Type: ListString
The items.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public List<string> Items { get; set; }

Property Value

Type: ListString
The items.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/0abb862d-f98f-3a95-2826-cf1bebbb23b7.htm b/src/CSScriptLib.Doc/Help/html/0abb862d-f98f-3a95-2826-cf1bebbb23b7.htm index 82b557ea..0926e214 100644 --- a/src/CSScriptLib.Doc/Help/html/0abb862d-f98f-3a95-2826-cf1bebbb23b7.htm +++ b/src/CSScriptLib.Doc/Help/html/0abb862d-f98f-3a95-2826-cf1bebbb23b7.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class CSharpParser

The CSharpParser type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class CSharpParser

The CSharpParser type exposes the following members.

Constructors
  NameDescription
Public methodCSharpParser(String)
Creates an instance of CSharpParser. @@ -59,7 +59,7 @@ For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. The correct syntax would be as follows '//css_include script((today)).cs;'

Remarks
The delimiters characters are ';,(){}'.

However you should check DirectiveDelimiters for the accurate list of all delimiters. -

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 methodGetRawStatements
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.)
Public methodStatic memberUnescapeDirectiveDelimiters
+

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.)
Public methodStatic memberUnescapeDirectiveDelimiters
Unescapes the CS-Script directive (e.g. //css_*) delimiters.

All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character. For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. diff --git a/src/CSScriptLib.Doc/Help/html/0bab5c7c-d6d7-0b88-744b-10af4c0270dc.htm b/src/CSScriptLib.Doc/Help/html/0bab5c7c-d6d7-0b88-744b-10af4c0270dc.htm index ff54305d..b7067817 100644 --- a/src/CSScriptLib.Doc/Help/html/0bab5c7c-d6d7-0b88-744b-10af4c0270dc.htm +++ b/src/CSScriptLib.Doc/Help/html/0bab5c7c-d6d7-0b88-744b-10af4c0270dc.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
T LoadFile<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
T LoadFile<T>(
 	string scriptFile,
 	params Object[] args
 )
diff --git a/src/CSScriptLib.Doc/Help/html/0cb8817b-6007-4e74-cca3-726cb59eced8.htm b/src/CSScriptLib.Doc/Help/html/0cb8817b-6007-4e74-cca3-726cb59eced8.htm
index dab30c4c..a37087fe 100644
--- a/src/CSScriptLib.Doc/Help/html/0cb8817b-6007-4e74-cca3-726cb59eced8.htm
+++ b/src/CSScriptLib.Doc/Help/html/0cb8817b-6007-4e74-cca3-726cb59eced8.htm
@@ -2,4 +2,4 @@
     Namespace: 
    CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CompilerError()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CompilerError()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/0e41c41b-99db-f696-8f33-4f447df964b8.htm b/src/CSScriptLib.Doc/Help/html/0e41c41b-99db-f696-8f33-4f447df964b8.htm index 6ba3aec2..94c063bb 100644 --- a/src/CSScriptLib.Doc/Help/html/0e41c41b-99db-f696-8f33-4f447df964b8.htm +++ b/src/CSScriptLib.Doc/Help/html/0e41c41b-99db-f696-8f33-4f447df964b8.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Assembly CompileCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Assembly CompileCode(
 	string scriptText
 )

Parameters

scriptText
Type: SystemString
The C# script text.

Return Value

Type: Assembly
The compiled assembly.
Examples
Assembly asm = CSScript.RoslynEvaluator
                        .CompileCode(@"using System;
diff --git a/src/CSScriptLib.Doc/Help/html/108a0b21-21aa-711d-bdf5-d2e9ed51f742.htm b/src/CSScriptLib.Doc/Help/html/108a0b21-21aa-711d-bdf5-d2e9ed51f742.htm
index cd3b17af..9aef8c12 100644
--- a/src/CSScriptLib.Doc/Help/html/108a0b21-21aa-711d-bdf5-d2e9ed51f742.htm
+++ b/src/CSScriptLib.Doc/Help/html/108a0b21-21aa-711d-bdf5-d2e9ed51f742.htm
@@ -1,4 +1,4 @@
-CSharpParser Methods

CSharpParser Methods

The CSharpParser type exposes the following members.

Methods
+CSharpParser Methods

CSharpParser Methods

The CSharpParser type exposes the following members.

Methods
  NameDescription
Public methodDoRenaming
Renames namespaces according renaming instructions. @@ -8,7 +8,7 @@ For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. The correct syntax would be as follows '//css_include script((today)).cs;'

Remarks
The delimiters characters are ';,(){}'.

However you should check DirectiveDelimiters for the accurate list of all delimiters. -

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 methodGetRawStatements
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.)
Public methodStatic memberUnescapeDirectiveDelimiters
+

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.)
Public methodStatic memberUnescapeDirectiveDelimiters
Unescapes the CS-Script directive (e.g. //css_*) delimiters.

All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character. For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. diff --git a/src/CSScriptLib.Doc/Help/html/10aa6cee-85d8-20ee-3805-04eb499e18c2.htm b/src/CSScriptLib.Doc/Help/html/10aa6cee-85d8-20ee-3805-04eb499e18c2.htm index 31171bb5..cb7a5d6a 100644 --- a/src/CSScriptLib.Doc/Help/html/10aa6cee-85d8-20ee-3805-04eb499e18c2.htm +++ b/src/CSScriptLib.Doc/Help/html/10aa6cee-85d8-20ee-3805-04eb499e18c2.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
T LoadCode<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
T LoadCode<T>(
 	string scriptText,
 	params Object[] args
 )
diff --git a/src/CSScriptLib.Doc/Help/html/119d5cb0-66b7-5527-367a-62c64ac98e2c.htm b/src/CSScriptLib.Doc/Help/html/119d5cb0-66b7-5527-367a-62c64ac98e2c.htm
index e5e07158..d12a37ab 100644
--- a/src/CSScriptLib.Doc/Help/html/119d5cb0-66b7-5527-367a-62c64ac98e2c.htm
+++ b/src/CSScriptLib.Doc/Help/html/119d5cb0-66b7-5527-367a-62c64ac98e2c.htm
@@ -7,7 +7,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator ReferenceAssembliesFromCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator ReferenceAssembliesFromCode(
 	string code,
 	params string[] searchDirs
 )

Parameters

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

Return Value

Type: IEvaluator
diff --git a/src/CSScriptLib.Doc/Help/html/12cfecc0-b747-1217-12de-9fc6c021c12e.htm b/src/CSScriptLib.Doc/Help/html/12cfecc0-b747-1217-12de-9fc6c021c12e.htm index 64778e72..f043e675 100644 --- a/src/CSScriptLib.Doc/Help/html/12cfecc0-b747-1217-12de-9fc6c021c12e.htm +++ b/src/CSScriptLib.Doc/Help/html/12cfecc0-b747-1217-12de-9fc6c021c12e.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string JoinBy(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string JoinBy(
 	this IEnumerable<string> values,
 	string separator
 )

Parameters

values
Type: System.Collections.GenericIEnumerableString
The values.
separator
Type: SystemString
The separator.

Return Value

Type: String
The method result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableString. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/130c5835-201e-4a7f-c039-3a25114c669b.htm b/src/CSScriptLib.Doc/Help/html/130c5835-201e-4a7f-c039-3a25114c669b.htm index ffd63fee..4bac68cc 100644 --- a/src/CSScriptLib.Doc/Help/html/130c5835-201e-4a7f-c039-3a25114c669b.htm +++ b/src/CSScriptLib.Doc/Help/html/130c5835-201e-4a7f-c039-3a25114c669b.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] IgnoreNamespaces

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] IgnoreNamespaces

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/13d95584-7d3c-62fe-b3d7-1cbe59658f8f.htm b/src/CSScriptLib.Doc/Help/html/13d95584-7d3c-62fe-b3d7-1cbe59658f8f.htm index c3f40e7c..f2e9a8c7 100644 --- a/src/CSScriptLib.Doc/Help/html/13d95584-7d3c-62fe-b3d7-1cbe59658f8f.htm +++ b/src/CSScriptLib.Doc/Help/html/13d95584-7d3c-62fe-b3d7-1cbe59658f8f.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
Assembly CompileCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
Assembly CompileCode(
 	string scriptText,
 	CompileInfo info = null
 )

Parameters

scriptText
Type: SystemString
The C# script text.
info (Optional)
Type: CSScriptLibCompileInfo
The information about compilation context (e.g. location of the compiler output - diff --git a/src/CSScriptLib.Doc/Help/html/1419e694-37c2-4edf-c906-86a4fa81f171.htm b/src/CSScriptLib.Doc/Help/html/1419e694-37c2-4edf-c906-86a4fa81f171.htm index a1e6a057..d6e0a9e6 100644 --- a/src/CSScriptLib.Doc/Help/html/1419e694-37c2-4edf-c906-86a4fa81f171.htm +++ b/src/CSScriptLib.Doc/Help/html/1419e694-37c2-4edf-c906-86a4fa81f171.htm @@ -41,57 +41,60 @@ the code with CS-Script directives (//css_ref).
(Inherited from EvaluatorBaseT.)
Public methodGetReferencedAssembliesFiles
Gets the referenced assemblies files. -
(Overrides EvaluatorBaseTGetReferencedAssembliesFiles.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
+
(Overrides EvaluatorBaseTGetReferencedAssembliesFiles.)
Public methodGetReferencedAssembliesFromScript
+ Analyses the script file code and returns set of locations for the assemblies referenced from + the code with CS-Script directives (//css_ref). +
(Inherited from EvaluatorBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
Evaluates and loads C# code to the current AppDomain. Returns instance of the first class defined in the code. -
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadDelegateT
+
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadDelegateT
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain.

Returns instance of T delegate for the first method in the auto-generated class. -

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
+

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
Evaluates and loads C# code from the specified file to the current AppDomain. Returns instance of the first class defined in the script file. -
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
+
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
+
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
References the assemblies from the script code.

The method analyses and tries to resolve CS-Script directives (e.g. '//css_ref') and 'used' namespaces based on the optional search directories. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
References the given assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
+

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
References the given assembly by the assembly path.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
References the name of the assembly by its partial name.

Note that the referenced assembly will be loaded into the host AppDomain in order to resolve assembly partial name. -

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
+

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
References the assembly by the given namespace it implements.

Adds assembly reference if the namespace was successfully resolved (found) and, otherwise does nothing -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
References the assemblies the are already loaded into the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Public methodReset
+
(Inherited from EvaluatorBaseT.)
Public methodReset
Resets Evaluator.

Resetting means clearing all referenced assemblies, recreating evaluation infrastructure @@ -99,28 +102,28 @@

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

(Inherited from EvaluatorBaseT.)
Public methodSetRefAssemblyFilter
+

(Inherited from EvaluatorBaseT.)
Public methodSetRefAssemblyFilter
Sets the filter for referenced assemblies. The filter is to be applied just before the assemblies are to be referenced during the script execution.
dynamic script = CSScript.Evaluator
 .SetRefAssemblyFilter(asms =>
 asms.Where(a => !a.FullName.StartsWith("Microsoft."))
-.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
+.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
References the assembly by the given namespace it implements. -
(Inherited from EvaluatorBaseT.)
Protected methodValidate
+
(Inherited from EvaluatorBaseT.)
Protected methodValidate
Validates the specified information. -
(Overrides EvaluatorBaseTValidate(CompileInfo).)
Top
Extension Methods
Extension Methods
  - NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
+
NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
+.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Top
See Also
\ No newline at end of file +.LoadCode(scriptCode); (Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/15340d94-9413-8591-1a8a-4e72c0a5e954.htm b/src/CSScriptLib.Doc/Help/html/15340d94-9413-8591-1a8a-4e72c0a5e954.htm index f4d40ba0..4788dcdd 100644 --- a/src/CSScriptLib.Doc/Help/html/15340d94-9413-8591-1a8a-4e72c0a5e954.htm +++ b/src/CSScriptLib.Doc/Help/html/15340d94-9413-8591-1a8a-4e72c0a5e954.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] RefAssemblies { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] RefAssemblies { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/17519245-a510-7d47-f2fd-01753e249701.htm b/src/CSScriptLib.Doc/Help/html/17519245-a510-7d47-f2fd-01753e249701.htm index 1478f047..f07d43a4 100644 --- a/src/CSScriptLib.Doc/Help/html/17519245-a510-7d47-f2fd-01753e249701.htm +++ b/src/CSScriptLib.Doc/Help/html/17519245-a510-7d47-f2fd-01753e249701.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static Exception CaptureExceptionDispatchInfo(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static Exception CaptureExceptionDispatchInfo(
 	this Exception ex
 )

Parameters

ex
Type: SystemException
The ex.

Return Value

Type: Exception
Processed exception instanse

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Exception. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/18a0a0dd-b462-e567-835e-80c01757f612.htm b/src/CSScriptLib.Doc/Help/html/18a0a0dd-b462-e567-835e-80c01757f612.htm index c86a4943..2a4efeee 100644 --- a/src/CSScriptLib.Doc/Help/html/18a0a0dd-b462-e567-835e-80c01757f612.htm +++ b/src/CSScriptLib.Doc/Help/html/18a0a0dd-b462-e567-835e-80c01757f612.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Refs

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Refs

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/18a0fab5-208f-d0fe-b15e-84471749f0f9.htm b/src/CSScriptLib.Doc/Help/html/18a0fab5-208f-d0fe-b15e-84471749f0f9.htm index 3c05664b..db092717 100644 --- a/src/CSScriptLib.Doc/Help/html/18a0fab5-208f-d0fe-b15e-84471749f0f9.htm +++ b/src/CSScriptLib.Doc/Help/html/18a0fab5-208f-d0fe-b15e-84471749f0f9.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void StopBuildServer()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void StopBuildServer()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/195d70b4-04fa-e149-4b5a-220191416fab.htm b/src/CSScriptLib.Doc/Help/html/195d70b4-04fa-e149-4b5a-220191416fab.htm index d990ec6b..791a4b62 100644 --- a/src/CSScriptLib.Doc/Help/html/195d70b4-04fa-e149-4b5a-220191416fab.htm +++ b/src/CSScriptLib.Doc/Help/html/195d70b4-04fa-e149-4b5a-220191416fab.htm @@ -10,7 +10,9 @@ supports options effectively this property is a user specified string of CLI arguments for `csc.exe`.

If you want to specify compiler options per script execution then you can use CompilerOptions.

Public propertyCode exampleDebugBuild
Default value of the IEvaluator. DebugBuild property - controlling the generation of the debug symbols.
Examples
CSScript.EvaluatorConfig.DebugBuild = true;
+             controlling the generation of the debug symbols.
+             

In case of CodeDomEvaluator evaluator setting this property to true + will also set conditional compiling symbol `DEBUG`.

Examples
CSScript.EvaluatorConfig.DebugBuild = true;
 dynamic script = CSScript.Evaluator
 .LoadMethod(...
Public propertyEngine
Gets or sets the default evaluator engine type. @@ -19,9 +21,12 @@

Public propertyPdbFormat
Gets or sets the PDB format. This property is only used if DebugBuild is set to true.
Public propertyReferenceDomainAssemblies
- Flag that controls if the host AppDo,main referenced assemblies are automatically + Flag that controls if the host AppDomain referenced assemblies are automatically referenced at creation of IEvaluator. -
Public propertyRefernceDomainAsemblies Obsolete.
+

Note, the assemblies are getting referenced with an automatic call + ReferenceDomainAssemblies(DomainAssemblies) with the default argument. + This may not be consistent with your intend. If it is the case then it is recommended that you call + ReferenceDomainAssemblies(DomainAssemblies) with the desired argument explicitly.

Public propertyRefernceDomainAsemblies Obsolete.
Flag that controls if the host AppDo,main referenced assemblies are automatically referenced at creation of IEvaluator.
Top
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/19752f72-af80-7204-d8c5-52b603b2a789.htm b/src/CSScriptLib.Doc/Help/html/19752f72-af80-7204-d8c5-52b603b2a789.htm index 4f181ef1..a2f3fbc9 100644 --- a/src/CSScriptLib.Doc/Help/html/19752f72-af80-7204-d8c5-52b603b2a789.htm +++ b/src/CSScriptLib.Doc/Help/html/19752f72-af80-7204-d8c5-52b603b2a789.htm @@ -2,4 +2,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Settings()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Settings()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/1ae6bebe-950d-ef9b-46a2-5ac01a38050c.htm b/src/CSScriptLib.Doc/Help/html/1ae6bebe-950d-ef9b-46a2-5ac01a38050c.htm index 7fd94c5c..d59d9c2e 100644 --- a/src/CSScriptLib.Doc/Help/html/1ae6bebe-950d-ef9b-46a2-5ac01a38050c.htm +++ b/src/CSScriptLib.Doc/Help/html/1ae6bebe-950d-ef9b-46a2-5ac01a38050c.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string ChangeExtension(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string ChangeExtension(
 	this string path,
 	string extension
 )

Parameters

path
Type: SystemString
The path.
extension
Type: SystemString
The extension.

Return Value

Type: String
A new path

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/1b03e7ca-febe-3cc6-6746-e938d7050417.htm b/src/CSScriptLib.Doc/Help/html/1b03e7ca-febe-3cc6-6746-e938d7050417.htm index 52528881..9880d2fd 100644 --- a/src/CSScriptLib.Doc/Help/html/1b03e7ca-febe-3cc6-6746-e938d7050417.htm +++ b/src/CSScriptLib.Doc/Help/html/1b03e7ca-febe-3cc6-6746-e938d7050417.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Precompilers { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Precompilers { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/1b339948-d1d7-5952-a62e-5035def91ea9.htm b/src/CSScriptLib.Doc/Help/html/1b339948-d1d7-5952-a62e-5035def91ea9.htm index bea31b27..da4bd74a 100644 --- a/src/CSScriptLib.Doc/Help/html/1b339948-d1d7-5952-a62e-5035def91ea9.htm +++ b/src/CSScriptLib.Doc/Help/html/1b339948-d1d7-5952-a62e-5035def91ea9.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsCore { get; }

Property Value

Type: Boolean
true if the runtime is core; otherwise, false.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsCore { get; }

Property Value

Type: Boolean
true if the runtime is core; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/1bda4681-0be2-931e-056b-f8ec9424257d.htm b/src/CSScriptLib.Doc/Help/html/1bda4681-0be2-931e-056b-f8ec9424257d.htm index 5319e9d0..7ac51abd 100644 --- a/src/CSScriptLib.Doc/Help/html/1bda4681-0be2-931e-056b-f8ec9424257d.htm +++ b/src/CSScriptLib.Doc/Help/html/1bda4681-0be2-931e-056b-f8ec9424257d.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
protected override (byte[] , byte[] ) Compile(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
protected override (byte[] , byte[] ) Compile(
 	string scriptText,
 	string scriptFile,
 	CompileInfo info
diff --git a/src/CSScriptLib.Doc/Help/html/1c59e15b-b7fa-9d2b-8593-33af01bb4f98.htm b/src/CSScriptLib.Doc/Help/html/1c59e15b-b7fa-9d2b-8593-33af01bb4f98.htm
index 42a94b60..72c44b75 100644
--- a/src/CSScriptLib.Doc/Help/html/1c59e15b-b7fa-9d2b-8593-33af01bb4f98.htm
+++ b/src/CSScriptLib.Doc/Help/html/1c59e15b-b7fa-9d2b-8593-33af01bb4f98.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] IgnoreNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] IgnoreNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/1cf3a07f-22dd-f50a-a472-847296503259.htm b/src/CSScriptLib.Doc/Help/html/1cf3a07f-22dd-f50a-a472-847296503259.htm index 2b3a483c..c72d0f5c 100644 --- a/src/CSScriptLib.Doc/Help/html/1cf3a07f-22dd-f50a-a472-847296503259.htm +++ b/src/CSScriptLib.Doc/Help/html/1cf3a07f-22dd-f50a-a472-847296503259.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class ImportInfo

The CSharpParserImportInfo type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class ImportInfo

The CSharpParserImportInfo type exposes the following members.

Constructors
  NameDescription
Public methodCSharpParserImportInfo
Creates an instance of ImportInfo. diff --git a/src/CSScriptLib.Doc/Help/html/1cfa001e-dac1-8e93-64ad-68aa711f8f95.htm b/src/CSScriptLib.Doc/Help/html/1cfa001e-dac1-8e93-64ad-68aa711f8f95.htm index 3e997e58..6aa0b9fe 100644 --- a/src/CSScriptLib.Doc/Help/html/1cfa001e-dac1-8e93-64ad-68aa711f8f95.htm +++ b/src/CSScriptLib.Doc/Help/html/1cfa001e-dac1-8e93-64ad-68aa711f8f95.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ReferencedAssemblies

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ReferencedAssemblies

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/1d5c37ec-d93e-ad94-7382-5ce6692a3408.htm b/src/CSScriptLib.Doc/Help/html/1d5c37ec-d93e-ad94-7382-5ce6692a3408.htm index 2a70c417..8a2751d0 100644 --- a/src/CSScriptLib.Doc/Help/html/1d5c37ec-d93e-ad94-7382-5ce6692a3408.htm +++ b/src/CSScriptLib.Doc/Help/html/1d5c37ec-d93e-ad94-7382-5ce6692a3408.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool SameAs(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool SameAs(
 	this string text,
 	string pattern,
 	bool ignoreCase = true
diff --git a/src/CSScriptLib.Doc/Help/html/1f7e900c-5646-b2e1-a5f5-12d8bfcc29ab.htm b/src/CSScriptLib.Doc/Help/html/1f7e900c-5646-b2e1-a5f5-12d8bfcc29ab.htm
index 2a917ff0..bc0d1125 100644
--- a/src/CSScriptLib.Doc/Help/html/1f7e900c-5646-b2e1-a5f5-12d8bfcc29ab.htm
+++ b/src/CSScriptLib.Doc/Help/html/1f7e900c-5646-b2e1-a5f5-12d8bfcc29ab.htm
@@ -4,6 +4,6 @@
     Namespace: 
    CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetDirName(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetDirName(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: String
The directory path.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/1fc041db-891d-ea4d-44e2-1a08c768b365.htm b/src/CSScriptLib.Doc/Help/html/1fc041db-891d-ea4d-44e2-1a08c768b365.htm index 11c586a6..05f12934 100644 --- a/src/CSScriptLib.Doc/Help/html/1fc041db-891d-ea4d-44e2-1a08c768b365.htm +++ b/src/CSScriptLib.Doc/Help/html/1fc041db-891d-ea4d-44e2-1a08c768b365.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator ReferenceAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator ReferenceAssembly(
 	Assembly assembly
 )

Parameters

assembly
Type: System.ReflectionAssembly
The assembly instance.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/23334ad8-a133-eb0d-d1f4-0eb81bb334d2.htm b/src/CSScriptLib.Doc/Help/html/23334ad8-a133-eb0d-d1f4-0eb81bb334d2.htm index 3e7e6003..3c5328f2 100644 --- a/src/CSScriptLib.Doc/Help/html/23334ad8-a133-eb0d-d1f4-0eb81bb334d2.htm +++ b/src/CSScriptLib.Doc/Help/html/23334ad8-a133-eb0d-d1f4-0eb81bb334d2.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Precompilers

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Precompilers

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/2393b5e9-ba1f-8f10-f735-8de2026b1240.htm b/src/CSScriptLib.Doc/Help/html/2393b5e9-ba1f-8f10-f735-8de2026b1240.htm index 707b6bb3..7383a238 100644 --- a/src/CSScriptLib.Doc/Help/html/2393b5e9-ba1f-8f10-f735-8de2026b1240.htm +++ b/src/CSScriptLib.Doc/Help/html/2393b5e9-ba1f-8f10-f735-8de2026b1240.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CmdScriptInfo(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CmdScriptInfo(
 	string statement,
 	bool preScript,
 	string parentScript
diff --git a/src/CSScriptLib.Doc/Help/html/24555c25-8468-eaea-f190-8f7b90153cf9.htm b/src/CSScriptLib.Doc/Help/html/24555c25-8468-eaea-f190-8f7b90153cf9.htm
index e83af43d..00a49fb3 100644
--- a/src/CSScriptLib.Doc/Help/html/24555c25-8468-eaea-f190-8f7b90153cf9.htm
+++ b/src/CSScriptLib.Doc/Help/html/24555c25-8468-eaea-f190-8f7b90153cf9.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ApartmentState apartmentState

Field Value

Type: ApartmentState
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ApartmentState apartmentState

Field Value

Type: ApartmentState
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/24a8edf3-c189-eafc-310b-19f1f58a7fec.htm b/src/CSScriptLib.Doc/Help/html/24a8edf3-c189-eafc-310b-19f1f58a7fec.htm index 7c93d113..fe8e3fb2 100644 --- a/src/CSScriptLib.Doc/Help/html/24a8edf3-c189-eafc-310b-19f1f58a7fec.htm +++ b/src/CSScriptLib.Doc/Help/html/24a8edf3-c189-eafc-310b-19f1f58a7fec.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
[ObsoleteAttribute("This method is not implemented for .NET Core oriented CS-Script versions (.NET 5 and above). Consider using interfaces with LoadCode/LoadMethod or use CreateDelegate instead.", 
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
[ObsoleteAttribute("This method is not implemented for .NET Core oriented CS-Script versions (.NET 5 and above). Consider using interfaces with LoadCode/LoadMethod or use CreateDelegate instead.", 
 	true)]
 T LoadDelegate<T>(
 	string code
diff --git a/src/CSScriptLib.Doc/Help/html/24de8db2-3002-d30f-e309-70a9399a420f.htm b/src/CSScriptLib.Doc/Help/html/24de8db2-3002-d30f-e309-70a9399a420f.htm
index de2e0ce2..1cb3a85a 100644
--- a/src/CSScriptLib.Doc/Help/html/24de8db2-3002-d30f-e309-70a9399a420f.htm
+++ b/src/CSScriptLib.Doc/Help/html/24de8db2-3002-d30f-e309-70a9399a420f.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public override Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.

Implements

IEvaluatorGetReferencedAssemblies
IEvaluatorGetReferencedAssemblies
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public override Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.

Implements

IEvaluatorGetReferencedAssemblies
IEvaluatorGetReferencedAssemblies
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/25f4d58e-c7ee-f79a-a7a4-d36796740c90.htm b/src/CSScriptLib.Doc/Help/html/25f4d58e-c7ee-f79a-a7a4-d36796740c90.htm index 4cc39186..6530cb8f 100644 --- a/src/CSScriptLib.Doc/Help/html/25f4d58e-c7ee-f79a-a7a4-d36796740c90.htm +++ b/src/CSScriptLib.Doc/Help/html/25f4d58e-c7ee-f79a-a7a4-d36796740c90.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ReferencedNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ReferencedNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/264e8ee2-646b-419c-e8c9-f58d6be61b22.htm b/src/CSScriptLib.Doc/Help/html/264e8ee2-646b-419c-e8c9-f58d6be61b22.htm index 809874a2..796905b9 100644 --- a/src/CSScriptLib.Doc/Help/html/264e8ee2-646b-419c-e8c9-f58d6be61b22.htm +++ b/src/CSScriptLib.Doc/Help/html/264e8ee2-646b-419c-e8c9-f58d6be61b22.htm @@ -1,11 +1,11 @@ -EvaluatorBase(T).Check Method

EvaluatorBaseTCheck Method

+EvaluatorBase(T).Check Method

EvaluatorBaseTCheck Method

Compiles the specified script text without loading it into the AppDomain or writing to the file system.

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public void Check(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public void Check(
 	string scriptText
 )

Parameters

scriptText
Type: SystemString
The script text.

Implements

IEvaluatorCheck(String)
Examples
try
 {
diff --git a/src/CSScriptLib.Doc/Help/html/272548d1-eeec-59e0-ddb4-cb6db070eef7.htm b/src/CSScriptLib.Doc/Help/html/272548d1-eeec-59e0-ddb4-cb6db070eef7.htm
index f2e4b1f9..6ed7b2c0 100644
--- a/src/CSScriptLib.Doc/Help/html/272548d1-eeec-59e0-ddb4-cb6db070eef7.htm
+++ b/src/CSScriptLib.Doc/Help/html/272548d1-eeec-59e0-ddb4-cb6db070eef7.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] CompilerOptions { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] CompilerOptions { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/29e2f1af-7b90-c7b2-6393-c2b4eb0366c1.htm b/src/CSScriptLib.Doc/Help/html/29e2f1af-7b90-c7b2-6393-c2b4eb0366c1.htm index f31b0bd5..3aa6a1d1 100644 --- a/src/CSScriptLib.Doc/Help/html/29e2f1af-7b90-c7b2-6393-c2b4eb0366c1.htm +++ b/src/CSScriptLib.Doc/Help/html/29e2f1af-7b90-c7b2-6393-c2b4eb0366c1.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string Directory(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string Directory(
 	this Assembly asm
 )

Parameters

asm
Type: System.ReflectionAssembly
The asm.

Return Value

Type: String
The directory path

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Assembly. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/2c385d49-7614-07ea-1214-0b8034380290.htm b/src/CSScriptLib.Doc/Help/html/2c385d49-7614-07ea-1214-0b8034380290.htm index 7b8dece0..d0bcd2dc 100644 --- a/src/CSScriptLib.Doc/Help/html/2c385d49-7614-07ea-1214-0b8034380290.htm +++ b/src/CSScriptLib.Doc/Help/html/2c385d49-7614-07ea-1214-0b8034380290.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
string CompileAssemblyFromFile(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
string CompileAssemblyFromFile(
 	string scriptFile,
 	string outputFile
 )

Parameters

scriptFile
Type: SystemString
The C# script file.
outputFile
Type: SystemString
The path to the assembly file to be compiled.

Return Value

Type: String
The compiled assembly file path.
Examples
string asmFile = CSScript.Evaluator
diff --git a/src/CSScriptLib.Doc/Help/html/2da4f4b1-b1f2-886a-4235-11d4d4f8180a.htm b/src/CSScriptLib.Doc/Help/html/2da4f4b1-b1f2-886a-4235-11d4d4f8180a.htm
index 37e090bf..f4aa106b 100644
--- a/src/CSScriptLib.Doc/Help/html/2da4f4b1-b1f2-886a-4235-11d4d4f8180a.htm
+++ b/src/CSScriptLib.Doc/Help/html/2da4f4b1-b1f2-886a-4235-11d4d4f8180a.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public virtual Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.

Implements

IEvaluatorGetReferencedAssemblies
Exceptions
ExceptionCondition
NotImplementedException
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public virtual Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.

Implements

IEvaluatorGetReferencedAssemblies
Exceptions
ExceptionCondition
NotImplementedException
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/2e317daf-736d-939c-fead-bb4587311b34.htm b/src/CSScriptLib.Doc/Help/html/2e317daf-736d-939c-fead-bb4587311b34.htm index 92b6ee9a..742b97a4 100644 --- a/src/CSScriptLib.Doc/Help/html/2e317daf-736d-939c-fead-bb4587311b34.htm +++ b/src/CSScriptLib.Doc/Help/html/2e317daf-736d-939c-fead-bb4587311b34.htm @@ -4,4 +4,4 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void Ping()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void Ping()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/2fbe3ab0-616c-8b90-4c71-fceb9fe50920.htm b/src/CSScriptLib.Doc/Help/html/2fbe3ab0-616c-8b90-4c71-fceb9fe50920.htm index 7e36ed0f..dd9ef567 100644 --- a/src/CSScriptLib.Doc/Help/html/2fbe3ab0-616c-8b90-4c71-fceb9fe50920.htm +++ b/src/CSScriptLib.Doc/Help/html/2fbe3ab0-616c-8b90-4c71-fceb9fe50920.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static class CoreExtensions

The CoreExtensions type exposes the following members.

Methods
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static class CoreExtensions

The CoreExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCaptureExceptionDispatchInfo
Captures the exception dispatch information. diff --git a/src/CSScriptLib.Doc/Help/html/300d962a-a0f2-f339-1403-fc8297b60814.htm b/src/CSScriptLib.Doc/Help/html/300d962a-a0f2-f339-1403-fc8297b60814.htm index 15292d47..cdc6b07e 100644 --- a/src/CSScriptLib.Doc/Help/html/300d962a-a0f2-f339-1403-fc8297b60814.htm +++ b/src/CSScriptLib.Doc/Help/html/300d962a-a0f2-f339-1403-fc8297b60814.htm @@ -2,4 +2,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public EvaluatorConfig()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public EvaluatorConfig()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/31d29ac8-5a9a-a4ae-ac6f-8d8ee297c2c4.htm b/src/CSScriptLib.Doc/Help/html/31d29ac8-5a9a-a4ae-ac6f-8d8ee297c2c4.htm index b0045575..acbcd5ee 100644 --- a/src/CSScriptLib.Doc/Help/html/31d29ac8-5a9a-a4ae-ac6f-8d8ee297c2c4.htm +++ b/src/CSScriptLib.Doc/Help/html/31d29ac8-5a9a-a4ae-ac6f-8d8ee297c2c4.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string NuGetCacheView { get; }

Property Value

Type: String
The nu get cache view.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string NuGetCacheView { get; }

Property Value

Type: String
The nu get cache view.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/33e2b04a-87b0-98e5-bfc2-f85c47029951.htm b/src/CSScriptLib.Doc/Help/html/33e2b04a-87b0-98e5-bfc2-f85c47029951.htm index 7894f513..3dbf1772 100644 --- a/src/CSScriptLib.Doc/Help/html/33e2b04a-87b0-98e5-bfc2-f85c47029951.htm +++ b/src/CSScriptLib.Doc/Help/html/33e2b04a-87b0-98e5-bfc2-f85c47029951.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static EvaluatorConfig EvaluatorConfig { get; }

Property Value

Type: EvaluatorConfig
The evaluator CSScript.EvaluatorConfig.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static EvaluatorConfig EvaluatorConfig { get; }

Property Value

Type: EvaluatorConfig
The evaluator CSScript.EvaluatorConfig.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/33e53372-e8ea-848d-e27f-055e834015b2.htm b/src/CSScriptLib.Doc/Help/html/33e53372-e8ea-848d-e27f-055e834015b2.htm index 9ad95410..94de99f4 100644 --- a/src/CSScriptLib.Doc/Help/html/33e53372-e8ea-848d-e27f-055e834015b2.htm +++ b/src/CSScriptLib.Doc/Help/html/33e53372-e8ea-848d-e27f-055e834015b2.htm @@ -5,4 +5,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static Settings GlobalSettings

Field Value

Type: Settings
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static Settings GlobalSettings

Field Value

Type: Settings
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/34be90cc-5f7d-fa22-b673-444e27be9752.htm b/src/CSScriptLib.Doc/Help/html/34be90cc-5f7d-fa22-b673-444e27be9752.htm index 1a210ab0..949d2a4a 100644 --- a/src/CSScriptLib.Doc/Help/html/34be90cc-5f7d-fa22-b673-444e27be9752.htm +++ b/src/CSScriptLib.Doc/Help/html/34be90cc-5f7d-fa22-b673-444e27be9752.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] GetReferencedAssemblies(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public 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

Implements

IEvaluatorGetReferencedAssemblies(String, String)
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/34d4b64e-b8ba-f169-ba4c-6a492bc4ce95.htm b/src/CSScriptLib.Doc/Help/html/34d4b64e-b8ba-f169-ba4c-6a492bc4ce95.htm index 44c1e15e..6020f6ba 100644 --- a/src/CSScriptLib.Doc/Help/html/34d4b64e-b8ba-f169-ba4c-6a492bc4ce95.htm +++ b/src/CSScriptLib.Doc/Help/html/34d4b64e-b8ba-f169-ba4c-6a492bc4ce95.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] SearchDirs

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] SearchDirs

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/35195bb1-d005-e043-fb9b-c460db8d3fdb.htm b/src/CSScriptLib.Doc/Help/html/35195bb1-d005-e043-fb9b-c460db8d3fdb.htm index 743a8a75..001c1d3d 100644 --- a/src/CSScriptLib.Doc/Help/html/35195bb1-d005-e043-fb9b-c460db8d3fdb.htm +++ b/src/CSScriptLib.Doc/Help/html/35195bb1-d005-e043-fb9b-c460db8d3fdb.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void FileCopy(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void FileCopy(
 	this string src,
 	string dest,
 	bool ignoreErrors = false
diff --git a/src/CSScriptLib.Doc/Help/html/367ecb28-9e87-9a5b-908c-35abcc5511be.htm b/src/CSScriptLib.Doc/Help/html/367ecb28-9e87-9a5b-908c-35abcc5511be.htm
index 806b18e2..ad16938a 100644
--- a/src/CSScriptLib.Doc/Help/html/367ecb28-9e87-9a5b-908c-35abcc5511be.htm
+++ b/src/CSScriptLib.Doc/Help/html/367ecb28-9e87-9a5b-908c-35abcc5511be.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetScriptTempFile()

Return Value

Type: String
Temporary file name.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetScriptTempFile()

Return Value

Type: String
Temporary file name.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/37b2b373-e5ff-dad2-d24c-0fe9b10a390a.htm b/src/CSScriptLib.Doc/Help/html/37b2b373-e5ff-dad2-d24c-0fe9b10a390a.htm index 5482b758..b624fda6 100644 --- a/src/CSScriptLib.Doc/Help/html/37b2b373-e5ff-dad2-d24c-0fe9b10a390a.htm +++ b/src/CSScriptLib.Doc/Help/html/37b2b373-e5ff-dad2-d24c-0fe9b10a390a.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string ScriptPath { get; set; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string ScriptPath { get; set; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/3853215a-1dba-de06-cfdc-13a6edb2e37f.htm b/src/CSScriptLib.Doc/Help/html/3853215a-1dba-de06-cfdc-13a6edb2e37f.htm index edada817..befcf889 100644 --- a/src/CSScriptLib.Doc/Help/html/3853215a-1dba-de06-cfdc-13a6edb2e37f.htm +++ b/src/CSScriptLib.Doc/Help/html/3853215a-1dba-de06-cfdc-13a6edb2e37f.htm @@ -6,7 +6,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public interface IEvaluator

The IEvaluator type exposes the following members.

Properties
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public interface IEvaluator

The IEvaluator type exposes the following members.

Properties
  NameDescription
Public propertyDebugBuild
Gets or sets a value indicating whether to compile script with debug symbols. diff --git a/src/CSScriptLib.Doc/Help/html/393f2761-ee59-0810-89c5-0c5aff7f4fec.htm b/src/CSScriptLib.Doc/Help/html/393f2761-ee59-0810-89c5-0c5aff7f4fec.htm index fb8b7f7c..a5e954e0 100644 --- a/src/CSScriptLib.Doc/Help/html/393f2761-ee59-0810-89c5-0c5aff7f4fec.htm +++ b/src/CSScriptLib.Doc/Help/html/393f2761-ee59-0810-89c5-0c5aff7f4fec.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void StartBuildServer()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void StartBuildServer()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/3b8d34f1-2306-908a-2573-f23afa196f2f.htm b/src/CSScriptLib.Doc/Help/html/3b8d34f1-2306-908a-2573-f23afa196f2f.htm index fa3704e6..fc2ae3cc 100644 --- a/src/CSScriptLib.Doc/Help/html/3b8d34f1-2306-908a-2573-f23afa196f2f.htm +++ b/src/CSScriptLib.Doc/Help/html/3b8d34f1-2306-908a-2573-f23afa196f2f.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool preserveMain

Field Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool preserveMain

Field Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/3be9ef02-eb46-3210-6986-e2aaa7567039.htm b/src/CSScriptLib.Doc/Help/html/3be9ef02-eb46-3210-6986-e2aaa7567039.htm index 837a9b20..edcba2fb 100644 --- a/src/CSScriptLib.Doc/Help/html/3be9ef02-eb46-3210-6986-e2aaa7567039.htm +++ b/src/CSScriptLib.Doc/Help/html/3be9ef02-eb46-3210-6986-e2aaa7567039.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator TryReferenceAssemblyByNamespace(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator TryReferenceAssemblyByNamespace(
 	string namespace,
 	out bool resolved
 )

Parameters

namespace
Type: SystemString
The namespace.
resolved
Type: SystemBoolean
diff --git a/src/CSScriptLib.Doc/Help/html/3cac691a-360c-8ccd-d686-887843fb4b06.htm b/src/CSScriptLib.Doc/Help/html/3cac691a-360c-8ccd-d686-887843fb4b06.htm index 66f800c8..8dc5f60a 100644 --- a/src/CSScriptLib.Doc/Help/html/3cac691a-360c-8ccd-d686-887843fb4b06.htm +++ b/src/CSScriptLib.Doc/Help/html/3cac691a-360c-8ccd-d686-887843fb4b06.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static CompilerException Create(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static CompilerException Create(
 	IEnumerable<CompilerError> Errors,
 	bool hideCompilerWarnings,
 	bool resolveAutogenFilesRefs
diff --git a/src/CSScriptLib.Doc/Help/html/3dc26165-988b-6fbb-2d84-81ff27b5e2a6.htm b/src/CSScriptLib.Doc/Help/html/3dc26165-988b-6fbb-2d84-81ff27b5e2a6.htm
index d2deca54..eb2776c2 100644
--- a/src/CSScriptLib.Doc/Help/html/3dc26165-988b-6fbb-2d84-81ff27b5e2a6.htm
+++ b/src/CSScriptLib.Doc/Help/html/3dc26165-988b-6fbb-2d84-81ff27b5e2a6.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] args

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] args

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/3e51f27f-ce40-91a2-9a58-be71be00e6a0.htm b/src/CSScriptLib.Doc/Help/html/3e51f27f-ce40-91a2-9a58-be71be00e6a0.htm index adfc806f..b51f6ae0 100644 --- a/src/CSScriptLib.Doc/Help/html/3e51f27f-ce40-91a2-9a58-be71be00e6a0.htm +++ b/src/CSScriptLib.Doc/Help/html/3e51f27f-ce40-91a2-9a58-be71be00e6a0.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool preScript

Field Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool preScript

Field Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/3e90a541-99ac-2d3d-ced7-932cec839e04.htm b/src/CSScriptLib.Doc/Help/html/3e90a541-99ac-2d3d-ced7-932cec839e04.htm index 0d7b3979..d7e7190d 100644 --- a/src/CSScriptLib.Doc/Help/html/3e90a541-99ac-2d3d-ced7-932cec839e04.htm +++ b/src/CSScriptLib.Doc/Help/html/3e90a541-99ac-2d3d-ced7-932cec839e04.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string Code { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string Code { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/3e9fef45-9140-7a80-b8d4-9fb0d2f8aeaa.htm b/src/CSScriptLib.Doc/Help/html/3e9fef45-9140-7a80-b8d4-9fb0d2f8aeaa.htm index dc40da74..df5c1f80 100644 --- a/src/CSScriptLib.Doc/Help/html/3e9fef45-9140-7a80-b8d4-9fb0d2f8aeaa.htm +++ b/src/CSScriptLib.Doc/Help/html/3e9fef45-9140-7a80-b8d4-9fb0d2f8aeaa.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetPath(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetPath(
 	this EnvironmentSpecialFolder folder
 )

Parameters

folder
Type: SystemEnvironmentSpecialFolder
The folder.

Return Value

Type: String
A folder path.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EnvironmentSpecialFolder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/3f2e06b4-011d-858b-4f0a-3b302f32615e.htm b/src/CSScriptLib.Doc/Help/html/3f2e06b4-011d-858b-4f0a-3b302f32615e.htm index 75dca729..9ac1f018 100644 --- a/src/CSScriptLib.Doc/Help/html/3f2e06b4-011d-858b-4f0a-3b302f32615e.htm +++ b/src/CSScriptLib.Doc/Help/html/3f2e06b4-011d-858b-4f0a-3b302f32615e.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Assembly CompiledAssembly { get; set; }

Property Value

Type: Assembly
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Assembly CompiledAssembly { get; set; }

Property Value

Type: Assembly
The compiled assembly.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/4012d331-41be-3325-47cc-afea0ba32075.htm b/src/CSScriptLib.Doc/Help/html/4012d331-41be-3325-47cc-afea0ba32075.htm index 6a637d8f..07e1cba1 100644 --- a/src/CSScriptLib.Doc/Help/html/4012d331-41be-3325-47cc-afea0ba32075.htm +++ b/src/CSScriptLib.Doc/Help/html/4012d331-41be-3325-47cc-afea0ba32075.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string FileName { get; set; }

Property Value

Type: String
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string FileName { get; set; }

Property Value

Type: String
The name of the file.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/4018c1a4-971a-5b4b-069b-fbaa34080719.htm b/src/CSScriptLib.Doc/Help/html/4018c1a4-971a-5b4b-069b-fbaa34080719.htm index 61c5ac4e..cb4e4761 100644 --- a/src/CSScriptLib.Doc/Help/html/4018c1a4-971a-5b4b-069b-fbaa34080719.htm +++ b/src/CSScriptLib.Doc/Help/html/4018c1a4-971a-5b4b-069b-fbaa34080719.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class ScriptParser

The ScriptParser type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class ScriptParser

The ScriptParser type exposes the following members.

Constructors
  NameDescription
Public methodScriptParser(String)
Constructor. diff --git a/src/CSScriptLib.Doc/Help/html/413a52a9-7aac-0762-d65b-4fe2ad7726bb.htm b/src/CSScriptLib.Doc/Help/html/413a52a9-7aac-0762-d65b-4fe2ad7726bb.htm index 250f7128..9ee2a0d8 100644 --- a/src/CSScriptLib.Doc/Help/html/413a52a9-7aac-0762-d65b-4fe2ad7726bb.htm +++ b/src/CSScriptLib.Doc/Help/html/413a52a9-7aac-0762-d65b-4fe2ad7726bb.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public MethodDelegate CreateDelegate(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public MethodDelegate CreateDelegate(
 	string code
 )

Parameters

code
Type: SystemString
The C# code.

Return Value

Type: MethodDelegate
The instance of a non-typed MethodDelegate

Implements

IEvaluatorCreateDelegate(String)
Examples
var log = CSScript.Evaluator
 .CreateDelegate(@"void Log(string message)
diff --git a/src/CSScriptLib.Doc/Help/html/41878467-4d4b-c5e7-e10b-7ce187a692e3.htm b/src/CSScriptLib.Doc/Help/html/41878467-4d4b-c5e7-e10b-7ce187a692e3.htm
index bd0348fe..60cc6b2e 100644
--- a/src/CSScriptLib.Doc/Help/html/41878467-4d4b-c5e7-e10b-7ce187a692e3.htm
+++ b/src/CSScriptLib.Doc/Help/html/41878467-4d4b-c5e7-e10b-7ce187a692e3.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public int EoAuthnCap

Field Value

Type: Int32
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public int EoAuthnCap

Field Value

Type: Int32
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/41b4f499-427b-76ed-9ec8-96c65e168509.htm b/src/CSScriptLib.Doc/Help/html/41b4f499-427b-76ed-9ec8-96c65e168509.htm index 85eefe19..798b419d 100644 --- a/src/CSScriptLib.Doc/Help/html/41b4f499-427b-76ed-9ec8-96c65e168509.htm +++ b/src/CSScriptLib.Doc/Help/html/41b4f499-427b-76ed-9ec8-96c65e168509.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string EnsureDir(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string EnsureDir(
 	this string path,
 	bool rethrow = true
 )

Parameters

path
Type: SystemString
The path.
rethrow (Optional)
Type: SystemBoolean
if set to true [rethrow].

Return Value

Type: String
Path of the created/existing directory

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/42ced031-d751-41df-075e-fafaac64fbe9.htm b/src/CSScriptLib.Doc/Help/html/42ced031-d751-41df-075e-fafaac64fbe9.htm index f0f82535..e534d4d8 100644 --- a/src/CSScriptLib.Doc/Help/html/42ced031-d751-41df-075e-fafaac64fbe9.htm +++ b/src/CSScriptLib.Doc/Help/html/42ced031-d751-41df-075e-fafaac64fbe9.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public List<CompilerError> Errors { get; set; }

Property Value

Type: ListCompilerError
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public List<CompilerError> Errors { get; set; }

Property Value

Type: ListCompilerError
The errors.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/448f9e5b-2ab7-7889-2023-b49017452017.htm b/src/CSScriptLib.Doc/Help/html/448f9e5b-2ab7-7889-2023-b49017452017.htm index 89a318a4..427beb33 100644 --- a/src/CSScriptLib.Doc/Help/html/448f9e5b-2ab7-7889-2023-b49017452017.htm +++ b/src/CSScriptLib.Doc/Help/html/448f9e5b-2ab7-7889-2023-b49017452017.htm @@ -10,7 +10,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator Reset(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
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 diff --git a/src/CSScriptLib.Doc/Help/html/471753f8-9f49-0b80-2adb-cca16d544c2e.htm b/src/CSScriptLib.Doc/Help/html/471753f8-9f49-0b80-2adb-cca16d544c2e.htm index 1957ef1c..eca5075f 100644 --- a/src/CSScriptLib.Doc/Help/html/471753f8-9f49-0b80-2adb-cca16d544c2e.htm +++ b/src/CSScriptLib.Doc/Help/html/471753f8-9f49-0b80-2adb-cca16d544c2e.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSharpParserInitInfo[] Inits { get; }

Property Value

Type: CSharpParserInitInfo
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSharpParserInitInfo[] Inits { get; }

Property Value

Type: CSharpParserInitInfo
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/47368b85-09ce-e9de-406b-c62b8e0e47db.htm b/src/CSScriptLib.Doc/Help/html/47368b85-09ce-e9de-406b-c62b8e0e47db.htm index 10dfd7bb..01a0ee14 100644 --- a/src/CSScriptLib.Doc/Help/html/47368b85-09ce-e9de-406b-c62b8e0e47db.htm +++ b/src/CSScriptLib.Doc/Help/html/47368b85-09ce-e9de-406b-c62b8e0e47db.htm @@ -4,7 +4,7 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsLegalPathToken(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsLegalPathToken(
 	string name
 )

Parameters

name
Type: SystemString
The name.

Return Value

Type: Boolean
true if the string is a legal path token; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/474d8584-7ea7-ca61-3e2c-7f5cc2f97fdb.htm b/src/CSScriptLib.Doc/Help/html/474d8584-7ea7-ca61-3e2c-7f5cc2f97fdb.htm index 753b2eb4..b3e9b68a 100644 --- a/src/CSScriptLib.Doc/Help/html/474d8584-7ea7-ca61-3e2c-7f5cc2f97fdb.htm +++ b/src/CSScriptLib.Doc/Help/html/474d8584-7ea7-ca61-3e2c-7f5cc2f97fdb.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Packages

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Packages

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/4854a1ee-3ee3-a687-e45c-976e527f9b79.htm b/src/CSScriptLib.Doc/Help/html/4854a1ee-3ee3-a687-e45c-976e527f9b79.htm index dc23ff2c..61c2d45a 100644 --- a/src/CSScriptLib.Doc/Help/html/4854a1ee-3ee3-a687-e45c-976e527f9b79.htm +++ b/src/CSScriptLib.Doc/Help/html/4854a1ee-3ee3-a687-e45c-976e527f9b79.htm @@ -2,4 +2,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CompileInfo()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CompileInfo()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/487b1e3d-eddd-6461-575f-fa338c0b099b.htm b/src/CSScriptLib.Doc/Help/html/487b1e3d-eddd-6461-575f-fa338c0b099b.htm index 84cf84ba..517f9fee 100644 --- a/src/CSScriptLib.Doc/Help/html/487b1e3d-eddd-6461-575f-fa338c0b099b.htm +++ b/src/CSScriptLib.Doc/Help/html/487b1e3d-eddd-6461-575f-fa338c0b099b.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[][] renaming

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[][] renaming

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/48da3d94-90a9-5f88-9599-183f2cc20743.htm b/src/CSScriptLib.Doc/Help/html/48da3d94-90a9-5f88-9599-183f2cc20743.htm index e258fda9..b7c07830 100644 --- a/src/CSScriptLib.Doc/Help/html/48da3d94-90a9-5f88-9599-183f2cc20743.htm +++ b/src/CSScriptLib.Doc/Help/html/48da3d94-90a9-5f88-9599-183f2cc20743.htm @@ -5,4 +5,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool SupressCodeAnalysis

Field Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool SupressCodeAnalysis

Field Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/48f7bb0a-da18-e006-50ab-ec7c48d5ebc3.htm b/src/CSScriptLib.Doc/Help/html/48f7bb0a-da18-e006-50ab-ec7c48d5ebc3.htm index 52733b56..52eb2123 100644 --- a/src/CSScriptLib.Doc/Help/html/48f7bb0a-da18-e006-50ab-ec7c48d5ebc3.htm +++ b/src/CSScriptLib.Doc/Help/html/48f7bb0a-da18-e006-50ab-ec7c48d5ebc3.htm @@ -8,6 +8,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static Project GenerateProjectFor(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static Project GenerateProjectFor(
 	string script
 )

Parameters

script
Type: SystemString
The script.

Return Value

Type: Project
The project instance
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/4942af1d-5914-c8ff-2a51-135912a2c75e.htm b/src/CSScriptLib.Doc/Help/html/4942af1d-5914-c8ff-2a51-135912a2c75e.htm index 1a718bce..cd6f3fd4 100644 --- a/src/CSScriptLib.Doc/Help/html/4942af1d-5914-c8ff-2a51-135912a2c75e.htm +++ b/src/CSScriptLib.Doc/Help/html/4942af1d-5914-c8ff-2a51-135912a2c75e.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] FilesToCompile { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] FilesToCompile { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/4b3dd18a-95a2-49fd-0a73-ac2b9a6af939.htm b/src/CSScriptLib.Doc/Help/html/4b3dd18a-95a2-49fd-0a73-ac2b9a6af939.htm index 5a6cd43d..bc1e5aa6 100644 --- a/src/CSScriptLib.Doc/Help/html/4b3dd18a-95a2-49fd-0a73-ac2b9a6af939.htm +++ b/src/CSScriptLib.Doc/Help/html/4b3dd18a-95a2-49fd-0a73-ac2b9a6af939.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string DefaultRefAssemblies { get; set; }

Property Value

Type: String
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string DefaultRefAssemblies { get; set; }

Property Value

Type: String
The default reference assemblies.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/4dd1dc6f-14e4-3908-fa7d-056086522c43.htm b/src/CSScriptLib.Doc/Help/html/4dd1dc6f-14e4-3908-fa7d-056086522c43.htm index 38fb7e0b..9f6481f5 100644 --- a/src/CSScriptLib.Doc/Help/html/4dd1dc6f-14e4-3908-fa7d-056086522c43.htm +++ b/src/CSScriptLib.Doc/Help/html/4dd1dc6f-14e4-3908-fa7d-056086522c43.htm @@ -2,7 +2,7 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class CompilerError

The CompilerError type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class CompilerError

The CompilerError type exposes the following members.

Constructors
  NameDescription
Public methodCompilerError
Initializes a new instance of the CompilerError class
Top
Properties
  diff --git a/src/CSScriptLib.Doc/Help/html/4e831977-d07c-c462-2ce8-4f5edac5c93c.htm b/src/CSScriptLib.Doc/Help/html/4e831977-d07c-c462-2ce8-4f5edac5c93c.htm index e0505a42..6277f7e1 100644 --- a/src/CSScriptLib.Doc/Help/html/4e831977-d07c-c462-2ce8-4f5edac5c93c.htm +++ b/src/CSScriptLib.Doc/Help/html/4e831977-d07c-c462-2ce8-4f5edac5c93c.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public delegate T MethodDelegate<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public delegate T MethodDelegate<T>(
 	params Object[] paramters
 )
 

Parameters

paramters
Type: SystemObject
Optional method parameters.

Type Parameters

T
The delegate return type.

Return Value

Type: T
Returns MethodInfo return value
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/4fceaaff-ad51-713d-8099-042988f73527.htm b/src/CSScriptLib.Doc/Help/html/4fceaaff-ad51-713d-8099-042988f73527.htm index 69d40c34..f778293d 100644 --- a/src/CSScriptLib.Doc/Help/html/4fceaaff-ad51-713d-8099-042988f73527.htm +++ b/src/CSScriptLib.Doc/Help/html/4fceaaff-ad51-713d-8099-042988f73527.htm @@ -9,7 +9,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class CmdScriptInfo

The CSharpParserCmdScriptInfo type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class CmdScriptInfo

The CSharpParserCmdScriptInfo type exposes the following members.

Constructors
  NameDescription
Public methodCSharpParserCmdScriptInfo
Creates an instance of CmdScriptInfo. diff --git a/src/CSScriptLib.Doc/Help/html/5104a689-5a17-8156-3e4e-bcaabecc4b14.htm b/src/CSScriptLib.Doc/Help/html/5104a689-5a17-8156-3e4e-bcaabecc4b14.htm index 046365cd..e550f53d 100644 --- a/src/CSScriptLib.Doc/Help/html/5104a689-5a17-8156-3e4e-bcaabecc4b14.htm +++ b/src/CSScriptLib.Doc/Help/html/5104a689-5a17-8156-3e4e-bcaabecc4b14.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool FileExists(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool FileExists(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: Boolean
The result of the test.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/515d61bf-129c-2477-7f86-0aa117d45cef.htm b/src/CSScriptLib.Doc/Help/html/515d61bf-129c-2477-7f86-0aa117d45cef.htm index ed338da0..830d3390 100644 --- a/src/CSScriptLib.Doc/Help/html/515d61bf-129c-2477-7f86-0aa117d45cef.htm +++ b/src/CSScriptLib.Doc/Help/html/515d61bf-129c-2477-7f86-0aa117d45cef.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class Settings

The Settings type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class Settings

The Settings type exposes the following members.

Constructors
  NameDescription
Public methodSettings
Initializes a new instance of the Settings class
Top
Properties
  diff --git a/src/CSScriptLib.Doc/Help/html/522235f3-1096-fd9c-c33d-283e45ad3eba.htm b/src/CSScriptLib.Doc/Help/html/522235f3-1096-fd9c-c33d-283e45ad3eba.htm index 0e5227a1..9c2469fb 100644 --- a/src/CSScriptLib.Doc/Help/html/522235f3-1096-fd9c-c33d-283e45ad3eba.htm +++ b/src/CSScriptLib.Doc/Help/html/522235f3-1096-fd9c-c33d-283e45ad3eba.htm @@ -5,4 +5,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool PreferLoadingFromFile { get; set; }

Property Value

Type: Boolean
true if [prefer loading from file]; otherwise, false.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool PreferLoadingFromFile { get; set; }

Property Value

Type: Boolean
true if [prefer loading from file]; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/522db51e-c379-42cb-3ed4-00ab742758cf.htm b/src/CSScriptLib.Doc/Help/html/522db51e-c379-42cb-3ed4-00ab742758cf.htm index 89483ebc..475c22de 100644 --- a/src/CSScriptLib.Doc/Help/html/522db51e-c379-42cb-3ed4-00ab742758cf.htm +++ b/src/CSScriptLib.Doc/Help/html/522db51e-c379-42cb-3ed4-00ab742758cf.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public override Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.

Implements

IEvaluatorGetReferencedAssemblies
IEvaluatorGetReferencedAssemblies
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public override Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.

Implements

IEvaluatorGetReferencedAssemblies
IEvaluatorGetReferencedAssemblies
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/5375351e-da45-d976-0d61-76d746ad6311.htm b/src/CSScriptLib.Doc/Help/html/5375351e-da45-d976-0d61-76d746ad6311.htm index 5daf999b..5acdeaaa 100644 --- a/src/CSScriptLib.Doc/Help/html/5375351e-da45-d976-0d61-76d746ad6311.htm +++ b/src/CSScriptLib.Doc/Help/html/5375351e-da45-d976-0d61-76d746ad6311.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Packages { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Packages { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/53b51249-bd71-9894-2630-5e027d1a169a.htm b/src/CSScriptLib.Doc/Help/html/53b51249-bd71-9894-2630-5e027d1a169a.htm index 262e7996..f27c4098 100644 --- a/src/CSScriptLib.Doc/Help/html/53b51249-bd71-9894-2630-5e027d1a169a.htm +++ b/src/CSScriptLib.Doc/Help/html/53b51249-bd71-9894-2630-5e027d1a169a.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string ModifiedCode { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string ModifiedCode { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/54d9aed8-4eb2-4236-0a14-a4164a7dd58a.htm b/src/CSScriptLib.Doc/Help/html/54d9aed8-4eb2-4236-0a14-a4164a7dd58a.htm index 6f384093..7b768814 100644 --- a/src/CSScriptLib.Doc/Help/html/54d9aed8-4eb2-4236-0a14-a4164a7dd58a.htm +++ b/src/CSScriptLib.Doc/Help/html/54d9aed8-4eb2-4236-0a14-a4164a7dd58a.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] FilesToCompile

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] FilesToCompile

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/5516d983-327d-1b1d-3fe8-08bea3806c5b.htm b/src/CSScriptLib.Doc/Help/html/5516d983-327d-1b1d-3fe8-08bea3806c5b.htm index 75f817f7..dd0297e7 100644 --- a/src/CSScriptLib.Doc/Help/html/5516d983-327d-1b1d-3fe8-08bea3806c5b.htm +++ b/src/CSScriptLib.Doc/Help/html/5516d983-327d-1b1d-3fe8-08bea3806c5b.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public override IEvaluator ReferenceAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public override IEvaluator ReferenceAssembly(
 	Assembly assembly
 )

Parameters

assembly
Type: System.ReflectionAssembly
The assembly instance.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/557e88dc-551d-3201-e754-55b55fa53a54.htm b/src/CSScriptLib.Doc/Help/html/557e88dc-551d-3201-e754-55b55fa53a54.htm index fd9792aa..f80fb167 100644 --- a/src/CSScriptLib.Doc/Help/html/557e88dc-551d-3201-e754-55b55fa53a54.htm +++ b/src/CSScriptLib.Doc/Help/html/557e88dc-551d-3201-e754-55b55fa53a54.htm @@ -13,7 +13,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static IEvaluator Evaluator { get; }

Property Value

Type: IEvaluator
The IEvaluator instance.
Examples
if(testingWithMono)
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static IEvaluator Evaluator { get; }

Property Value

Type: IEvaluator
The IEvaluator instance.
Examples
if(testingWithMono)
     CSScript.EvaluatorConfig.Engine = EvaluatorEngine.Mono;
 else
     CSScript.EvaluatorConfig.Engine = EvaluatorEngine.Roslyn;
diff --git a/src/CSScriptLib.Doc/Help/html/565c1bd9-120e-2898-f064-e002af7a1853.htm b/src/CSScriptLib.Doc/Help/html/565c1bd9-120e-2898-f064-e002af7a1853.htm
index 1f2fac19..ecd2b12f 100644
--- a/src/CSScriptLib.Doc/Help/html/565c1bd9-120e-2898-f064-e002af7a1853.htm
+++ b/src/CSScriptLib.Doc/Help/html/565c1bd9-120e-2898-f064-e002af7a1853.htm
@@ -1,9 +1,11 @@
-EvaluatorConfig.DebugBuild Property 

EvaluatorConfigDebugBuild Property

+EvaluatorConfig.DebugBuild Property

EvaluatorConfigDebugBuild Property

Default value of the IEvaluator. DebugBuild property - controlling the generation of the debug symbols.
Examples
CSScript.EvaluatorConfig.DebugBuild = true;
+             controlling the generation of the debug symbols.
+             

In case of CodeDomEvaluator evaluator setting this property to true + will also set conditional compiling symbol `DEBUG`.

Examples
CSScript.EvaluatorConfig.DebugBuild = true;
 dynamic script = CSScript.Evaluator
 .LoadMethod(...

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool DebugBuild { get; set; }

Property Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool DebugBuild { get; set; }

Property Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/57253c3f-9146-0ca6-6d37-8d637627e702.htm b/src/CSScriptLib.Doc/Help/html/57253c3f-9146-0ca6-6d37-8d637627e702.htm index 7e6494cf..04202050 100644 --- a/src/CSScriptLib.Doc/Help/html/57253c3f-9146-0ca6-6d37-8d637627e702.htm +++ b/src/CSScriptLib.Doc/Help/html/57253c3f-9146-0ca6-6d37-8d637627e702.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ReferencedResources { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ReferencedResources { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/57bc5fd7-58f0-94c4-229c-6292663be0b8.htm b/src/CSScriptLib.Doc/Help/html/57bc5fd7-58f0-94c4-229c-6292663be0b8.htm index fb9e9f68..d4dcd706 100644 --- a/src/CSScriptLib.Doc/Help/html/57bc5fd7-58f0-94c4-229c-6292663be0b8.htm +++ b/src/CSScriptLib.Doc/Help/html/57bc5fd7-58f0-94c4-229c-6292663be0b8.htm @@ -1,9 +1,9 @@ -EvaluatorBase(T).Validate Method

EvaluatorBaseTValidate Method

+EvaluatorBase(T).Validate Method

EvaluatorBaseTValidate Method

Validates the specified information.

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
protected virtual void Validate(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
protected virtual void Validate(
 	CompileInfo info
 )

Parameters

info
Type: CSScriptLibCompileInfo
The information.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/58419aaf-b521-ae5d-a2ef-71036e4dff74.htm b/src/CSScriptLib.Doc/Help/html/58419aaf-b521-ae5d-a2ef-71036e4dff74.htm index 3291f9e4..1a2a03a8 100644 --- a/src/CSScriptLib.Doc/Help/html/58419aaf-b521-ae5d-a2ef-71036e4dff74.htm +++ b/src/CSScriptLib.Doc/Help/html/58419aaf-b521-ae5d-a2ef-71036e4dff74.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool None<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool None<T>(
 	this IEnumerable<T> items,
 	Func<T, bool> predicate
 )
diff --git a/src/CSScriptLib.Doc/Help/html/58d2a9ca-df31-126f-005e-a856eb76afa9.htm b/src/CSScriptLib.Doc/Help/html/58d2a9ca-df31-126f-005e-a856eb76afa9.htm
index 9d7c3fe4..51c5dbc4 100644
--- a/src/CSScriptLib.Doc/Help/html/58d2a9ca-df31-126f-005e-a856eb76afa9.htm
+++ b/src/CSScriptLib.Doc/Help/html/58d2a9ca-df31-126f-005e-a856eb76afa9.htm
@@ -1,10 +1,10 @@
-EvaluatorBase(T).Compile Method 

EvaluatorBaseTCompile Method

+EvaluatorBase(T).Compile Method

EvaluatorBaseTCompile Method

Compiles the specified script text.

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
protected virtual (byte[] , byte[] ) Compile(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
protected virtual (byte[] , byte[] ) Compile(
 	string scriptText,
 	string scriptFile,
 	CompileInfo info
diff --git a/src/CSScriptLib.Doc/Help/html/5b7246a4-23dd-29e3-6b84-64799c628536.htm b/src/CSScriptLib.Doc/Help/html/5b7246a4-23dd-29e3-6b84-64799c628536.htm
index 8ab7fa43..13579566 100644
--- a/src/CSScriptLib.Doc/Help/html/5b7246a4-23dd-29e3-6b84-64799c628536.htm
+++ b/src/CSScriptLib.Doc/Help/html/5b7246a4-23dd-29e3-6b84-64799c628536.htm
@@ -3,7 +3,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class CodeDomEvaluator : EvaluatorBase<CodeDomEvaluator>, 
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class CodeDomEvaluator : EvaluatorBase<CodeDomEvaluator>, 
 	IEvaluator

The CodeDomEvaluator type exposes the following members.

Constructors
  NameDescription
Public methodCodeDomEvaluator
Initializes a new instance of the CodeDomEvaluator class
Top
Properties
@@ -80,57 +80,60 @@ the code with CS-Script directives (//css_ref). (Inherited from EvaluatorBaseT.)
Public methodGetReferencedAssembliesFiles
Gets the referenced assemblies files. -
(Overrides EvaluatorBaseTGetReferencedAssembliesFiles.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
+
(Overrides EvaluatorBaseTGetReferencedAssembliesFiles.)
Public methodGetReferencedAssembliesFromScript
+ Analyses the script file code and returns set of locations for the assemblies referenced from + the code with CS-Script directives (//css_ref). +
(Inherited from EvaluatorBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
Evaluates and loads C# code to the current AppDomain. Returns instance of the first class defined in the code. -
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadDelegateT
+
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadDelegateT
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain.

Returns instance of T delegate for the first method in the auto-generated class. -

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
+

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
Evaluates and loads C# code from the specified file to the current AppDomain. Returns instance of the first class defined in the script file. -
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
+
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
+
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
References the assemblies from the script code.

The method analyses and tries to resolve CS-Script directives (e.g. '//css_ref') and 'used' namespaces based on the optional search directories. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
References the given assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
+

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
References the given assembly by the assembly path.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
References the name of the assembly by its partial name.

Note that the referenced assembly will be loaded into the host AppDomain in order to resolve assembly partial name. -

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
+

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
References the assembly by the given namespace it implements.

Adds assembly reference if the namespace was successfully resolved (found) and, otherwise does nothing -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
References the assemblies the are already loaded into the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Public methodReset
+
(Inherited from EvaluatorBaseT.)
Public methodReset
Resets Evaluator.

Resetting means clearing all referenced assemblies, recreating evaluation infrastructure @@ -138,17 +141,17 @@

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

(Inherited from EvaluatorBaseT.)
Public methodSetRefAssemblyFilter
+

(Inherited from EvaluatorBaseT.)
Public methodSetRefAssemblyFilter
Sets the filter for referenced assemblies. The filter is to be applied just before the assemblies are to be referenced during the script execution.
dynamic script = CSScript.Evaluator
 .SetRefAssemblyFilter(asms =>
 asms.Where(a => !a.FullName.StartsWith("Microsoft."))
-.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
+.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
References the assembly by the given namespace it implements. -
(Inherited from EvaluatorBaseT.)
Protected methodValidate
+
(Inherited from EvaluatorBaseT.)
Protected methodValidate
Validates the specified information. -
(Overrides EvaluatorBaseTValidate(CompileInfo).)
Top
Fields
Fields
  NameDescription
Public fieldStatic memberCompileOnServer
The flag indicating if the compilation should happen on the build server or locally. @@ -160,18 +163,18 @@ associated with the low level completion. IE non script specific failures of csc.exe.

Protected fieldFilterAssemblies
The filter assemblies -
(Inherited from EvaluatorBaseT.)
Top
Extension Methods
Extension Methods
  - NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
+
NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
+.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Top
See Also
\ No newline at end of file +.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/5c054297-6964-bf3f-8df3-ac6b14d096f2.htm b/src/CSScriptLib.Doc/Help/html/5c054297-6964-bf3f-8df3-ac6b14d096f2.htm index 626d655d..ead7c9d2 100644 --- a/src/CSScriptLib.Doc/Help/html/5c054297-6964-bf3f-8df3-ac6b14d096f2.htm +++ b/src/CSScriptLib.Doc/Help/html/5c054297-6964-bf3f-8df3-ac6b14d096f2.htm @@ -2,4 +2,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Project()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Project()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/5cb7b9a6-c426-a53d-8f51-79cec000807c.htm b/src/CSScriptLib.Doc/Help/html/5cb7b9a6-c426-a53d-8f51-79cec000807c.htm index fcfbb295..de968a1c 100644 --- a/src/CSScriptLib.Doc/Help/html/5cb7b9a6-c426-a53d-8f51-79cec000807c.htm +++ b/src/CSScriptLib.Doc/Help/html/5cb7b9a6-c426-a53d-8f51-79cec000807c.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public DateTime Timestamp

Field Value

Type: DateTime
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public DateTime Timestamp

Field Value

Type: DateTime
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/5cf3c013-48af-0aa7-0bc3-67a21d4dde3b.htm b/src/CSScriptLib.Doc/Help/html/5cf3c013-48af-0aa7-0bc3-67a21d4dde3b.htm index c17b2ab2..61690204 100644 --- a/src/CSScriptLib.Doc/Help/html/5cf3c013-48af-0aa7-0bc3-67a21d4dde3b.htm +++ b/src/CSScriptLib.Doc/Help/html/5cf3c013-48af-0aa7-0bc3-67a21d4dde3b.htm @@ -2,4 +2,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public RoslynEvaluator()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public RoslynEvaluator()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/5e2dbdc6-548f-068d-e74a-9924b58479d2.htm b/src/CSScriptLib.Doc/Help/html/5e2dbdc6-548f-068d-e74a-9924b58479d2.htm index 69142cb3..b8e6d11a 100644 --- a/src/CSScriptLib.Doc/Help/html/5e2dbdc6-548f-068d-e74a-9924b58479d2.htm +++ b/src/CSScriptLib.Doc/Help/html/5e2dbdc6-548f-068d-e74a-9924b58479d2.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator ReferenceDomainAssemblies(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator ReferenceDomainAssemblies(
 	DomainAssemblies assemblies = DomainAssemblies.AllStaticNonGAC
 )

Parameters

assemblies (Optional)
Type: CSScriptLibDomainAssemblies
The type of assemblies to be referenced.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/604e3cfc-4923-a207-7e10-ba669f5bc661.htm b/src/CSScriptLib.Doc/Help/html/604e3cfc-4923-a207-7e10-ba669f5bc661.htm index d5babda9..319408e9 100644 --- a/src/CSScriptLib.Doc/Help/html/604e3cfc-4923-a207-7e10-ba669f5bc661.htm +++ b/src/CSScriptLib.Doc/Help/html/604e3cfc-4923-a207-7e10-ba669f5bc661.htm @@ -1,10 +1,10 @@ -EvaluatorBase(T).ReferenceDomainAssemblies Method

EvaluatorBaseTReferenceDomainAssemblies Method

+EvaluatorBase(T).ReferenceDomainAssemblies Method

EvaluatorBaseTReferenceDomainAssemblies Method

References the assemblies the are already loaded into the current AppDomain.

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public IEvaluator ReferenceDomainAssemblies(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public IEvaluator ReferenceDomainAssemblies(
 	DomainAssemblies assemblies = DomainAssemblies.AllStaticNonGAC
 )

Parameters

assemblies (Optional)
Type: CSScriptLibDomainAssemblies
The type of assemblies to be referenced.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/62365278-1a9d-6fd2-1d43-6c78897ef547.htm b/src/CSScriptLib.Doc/Help/html/62365278-1a9d-6fd2-1d43-6c78897ef547.htm index 4096bfb2..3b63faa2 100644 --- a/src/CSScriptLib.Doc/Help/html/62365278-1a9d-6fd2-1d43-6c78897ef547.htm +++ b/src/CSScriptLib.Doc/Help/html/62365278-1a9d-6fd2-1d43-6c78897ef547.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsNotEmpty(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsNotEmpty(
 	this string text
 )

Parameters

text
Type: SystemString
The text.

Return Value

Type: Boolean
true if [is not empty] [the specified text]; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/62ee5b67-b522-438d-0a01-da897fc2ba5b.htm b/src/CSScriptLib.Doc/Help/html/62ee5b67-b522-438d-0a01-da897fc2ba5b.htm index 92d4b424..1a0f2467 100644 --- a/src/CSScriptLib.Doc/Help/html/62ee5b67-b522-438d-0a01-da897fc2ba5b.htm +++ b/src/CSScriptLib.Doc/Help/html/62ee5b67-b522-438d-0a01-da897fc2ba5b.htm @@ -6,4 +6,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
bool DisableReferencingFromCode { get; set; }

Property Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
bool DisableReferencingFromCode { get; set; }

Property Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/63e63edc-efdc-ead0-32d2-b110a6c8d866.htm b/src/CSScriptLib.Doc/Help/html/63e63edc-efdc-ead0-32d2-b110a6c8d866.htm index 37de4af0..7b230616 100644 --- a/src/CSScriptLib.Doc/Help/html/63e63edc-efdc-ead0-32d2-b110a6c8d866.htm +++ b/src/CSScriptLib.Doc/Help/html/63e63edc-efdc-ead0-32d2-b110a6c8d866.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static Func<string, Settings> Load

Field Value

Type: FuncString, Settings
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static Func<string, Settings> Load

Field Value

Type: FuncString, Settings
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/6425d73f-7f0d-6e96-f3b3-8506f414cca5.htm b/src/CSScriptLib.Doc/Help/html/6425d73f-7f0d-6e96-f3b3-8506f414cca5.htm index 13a80d3a..0af34775 100644 --- a/src/CSScriptLib.Doc/Help/html/6425d73f-7f0d-6e96-f3b3-8506f414cca5.htm +++ b/src/CSScriptLib.Doc/Help/html/6425d73f-7f0d-6e96-f3b3-8506f414cca5.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] References { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] References { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/643f102e-76c4-9678-571d-6f1f7a17b39a.htm b/src/CSScriptLib.Doc/Help/html/643f102e-76c4-9678-571d-6f1f7a17b39a.htm index 7cac7fe0..f620dda9 100644 --- a/src/CSScriptLib.Doc/Help/html/643f102e-76c4-9678-571d-6f1f7a17b39a.htm +++ b/src/CSScriptLib.Doc/Help/html/643f102e-76c4-9678-571d-6f1f7a17b39a.htm @@ -1,11 +1,11 @@ -EvaluatorBase(T).CompileAssemblyFromFile Method

EvaluatorBaseTCompileAssemblyFromFile Method

+EvaluatorBase(T).CompileAssemblyFromFile Method

EvaluatorBaseTCompileAssemblyFromFile Method

Compiles C# file (script) into assembly file. The C# contains typical C# code containing a single or multiple class definition(s).

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string CompileAssemblyFromFile(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string CompileAssemblyFromFile(
 	string scriptFile,
 	string outputFile
 )

Parameters

scriptFile
Type: SystemString
The C# script file.
outputFile
Type: SystemString
The path to the assembly file to be compiled.

Return Value

Type: String
The compiled assembly file path.

Implements

IEvaluatorCompileAssemblyFromFile(String, String)
Examples
string asmFile = CSScript.Evaluator
diff --git a/src/CSScriptLib.Doc/Help/html/646ddb54-4c4d-af14-7e90-5e2ef18d9d1d.htm b/src/CSScriptLib.Doc/Help/html/646ddb54-4c4d-af14-7e90-5e2ef18d9d1d.htm
index 4374a0d7..a159450e 100644
--- a/src/CSScriptLib.Doc/Help/html/646ddb54-4c4d-af14-7e90-5e2ef18d9d1d.htm
+++ b/src/CSScriptLib.Doc/Help/html/646ddb54-4c4d-af14-7e90-5e2ef18d9d1d.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool RemoveBuildServer()

Return Value

Type: Boolean
true if success; otherwise false
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool RemoveBuildServer()

Return Value

Type: Boolean
true if success; otherwise false
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/65ae901d-23e3-8539-29c1-e622b1e0ef79.htm b/src/CSScriptLib.Doc/Help/html/65ae901d-23e3-8539-29c1-e622b1e0ef79.htm index f92263f4..f08dc44b 100644 --- a/src/CSScriptLib.Doc/Help/html/65ae901d-23e3-8539-29c1-e622b1e0ef79.htm +++ b/src/CSScriptLib.Doc/Help/html/65ae901d-23e3-8539-29c1-e622b1e0ef79.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool Contains(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool Contains(
 	this string text,
 	string pattern,
 	bool ignoreCase
diff --git a/src/CSScriptLib.Doc/Help/html/66cd9cb1-6993-45a9-9ad4-27ad4b78888c.htm b/src/CSScriptLib.Doc/Help/html/66cd9cb1-6993-45a9-9ad4-27ad4b78888c.htm
index 395873ff..34037e49 100644
--- a/src/CSScriptLib.Doc/Help/html/66cd9cb1-6993-45a9-9ad4-27ad4b78888c.htm
+++ b/src/CSScriptLib.Doc/Help/html/66cd9cb1-6993-45a9-9ad4-27ad4b78888c.htm
@@ -2,4 +2,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ScriptParsingResult()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ScriptParsingResult()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/66ef70ea-67a3-0a48-c43d-9df7d06e299f.htm b/src/CSScriptLib.Doc/Help/html/66ef70ea-67a3-0a48-c43d-9df7d06e299f.htm index 2ca85420..89faf873 100644 --- a/src/CSScriptLib.Doc/Help/html/66ef70ea-67a3-0a48-c43d-9df7d06e299f.htm +++ b/src/CSScriptLib.Doc/Help/html/66ef70ea-67a3-0a48-c43d-9df7d06e299f.htm @@ -1,4 +1,4 @@ -EvaluatorBase(T).ReferenceAssemblyByNamespace Method

EvaluatorBaseTReferenceAssemblyByNamespace Method

+EvaluatorBase(T).ReferenceAssemblyByNamespace Method

EvaluatorBaseTReferenceAssemblyByNamespace Method

References the assembly by the given namespace it implements.

Adds assembly reference if the namespace was successfully resolved (found) and, @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public IEvaluator ReferenceAssemblyByNamespace(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public IEvaluator ReferenceAssemblyByNamespace(
 	string namespace
 )

Parameters

namespace
Type: SystemString
The namespace.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/6915955a-f704-aee5-07e5-908fff894f0e.htm b/src/CSScriptLib.Doc/Help/html/6915955a-f704-aee5-07e5-908fff894f0e.htm index 4fb4316d..0af1df31 100644 --- a/src/CSScriptLib.Doc/Help/html/6915955a-f704-aee5-07e5-908fff894f0e.htm +++ b/src/CSScriptLib.Doc/Help/html/6915955a-f704-aee5-07e5-908fff894f0e.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool DirExists(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool DirExists(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: Boolean
The result of the test.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/6b72a75d-964e-5348-9d53-2d47034b8af2.htm b/src/CSScriptLib.Doc/Help/html/6b72a75d-964e-5348-9d53-2d47034b8af2.htm index af806a55..0c2c68e2 100644 --- a/src/CSScriptLib.Doc/Help/html/6b72a75d-964e-5348-9d53-2d47034b8af2.htm +++ b/src/CSScriptLib.Doc/Help/html/6b72a75d-964e-5348-9d53-2d47034b8af2.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Settings ClearSearchDirs()

Return Value

Type: Settings
The Settings instance.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Settings ClearSearchDirs()

Return Value

Type: Settings
The Settings instance.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/6bc77af5-b8d1-34db-aafb-5a50f1456d5c.htm b/src/CSScriptLib.Doc/Help/html/6bc77af5-b8d1-34db-aafb-5a50f1456d5c.htm index 909aa968..00e799f1 100644 --- a/src/CSScriptLib.Doc/Help/html/6bc77af5-b8d1-34db-aafb-5a50f1456d5c.htm +++ b/src/CSScriptLib.Doc/Help/html/6bc77af5-b8d1-34db-aafb-5a50f1456d5c.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public InitInfo(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public InitInfo(
 	string statement
 )

Parameters

statement
Type: SystemString
The original argument statement of the //css_init directive.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/6e5d4f63-37af-c074-ddfb-87924ab90568.htm b/src/CSScriptLib.Doc/Help/html/6e5d4f63-37af-c074-ddfb-87924ab90568.htm index 72e11e9f..5693c9f2 100644 --- a/src/CSScriptLib.Doc/Help/html/6e5d4f63-37af-c074-ddfb-87924ab90568.htm +++ b/src/CSScriptLib.Doc/Help/html/6e5d4f63-37af-c074-ddfb-87924ab90568.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsWin { get; }

Property Value

Type: Boolean
true if the host OS is Windows; otherwise, false.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsWin { get; }

Property Value

Type: Boolean
true if the host OS is Windows; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/6f07d62d-dc7e-8289-9888-c3db25d10e70.htm b/src/CSScriptLib.Doc/Help/html/6f07d62d-dc7e-8289-9888-c3db25d10e70.htm index 2ab94403..e4e37320 100644 --- a/src/CSScriptLib.Doc/Help/html/6f07d62d-dc7e-8289-9888-c3db25d10e70.htm +++ b/src/CSScriptLib.Doc/Help/html/6f07d62d-dc7e-8289-9888-c3db25d10e70.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CompilerException(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CompilerException(
 	SerializationInfo info,
 	StreamingContext context
 )

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The object that holds the serialized object data.
context
Type: System.Runtime.SerializationStreamingContext
The contextual information about the source or destination.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/6f9bb20e-13dc-78e9-f56c-e0d62cd2beac.htm b/src/CSScriptLib.Doc/Help/html/6f9bb20e-13dc-78e9-f56c-e0d62cd2beac.htm index d0bd4e77..55abf446 100644 --- a/src/CSScriptLib.Doc/Help/html/6f9bb20e-13dc-78e9-f56c-e0d62cd2beac.htm +++ b/src/CSScriptLib.Doc/Help/html/6f9bb20e-13dc-78e9-f56c-e0d62cd2beac.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Settings AddSearchDir(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Settings AddSearchDir(
 	string dir
 )

Parameters

dir
Type: SystemString
The dir.

Return Value

Type: Settings
The Settings instance
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/707aab55-620a-f0a7-5e53-fa9b801f65f6.htm b/src/CSScriptLib.Doc/Help/html/707aab55-620a-f0a7-5e53-fa9b801f65f6.htm index 6503b659..65de01fb 100644 --- a/src/CSScriptLib.Doc/Help/html/707aab55-620a-f0a7-5e53-fa9b801f65f6.htm +++ b/src/CSScriptLib.Doc/Help/html/707aab55-620a-f0a7-5e53-fa9b801f65f6.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public int Column { get; set; }

Property Value

Type: Int32
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public int Column { get; set; }

Property Value

Type: Int32
The column.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/711b6834-2861-09a4-873c-3c53ff50e3e4.htm b/src/CSScriptLib.Doc/Help/html/711b6834-2861-09a4-873c-3c53ff50e3e4.htm index 14cd66ab..24f00afa 100644 --- a/src/CSScriptLib.Doc/Help/html/711b6834-2861-09a4-873c-3c53ff50e3e4.htm +++ b/src/CSScriptLib.Doc/Help/html/711b6834-2861-09a4-873c-3c53ff50e3e4.htm @@ -4,7 +4,7 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public delegate string[] ResolveAssemblyHandler(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public delegate string[] ResolveAssemblyHandler(
 	string file,
 	string[] searchDirs
 )

Parameters

file
Type: SystemString
The file.
searchDirs
Type: SystemString
The extra dirs.

Return Value

Type: String
Location of the files matching the resolution input.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/71751b67-4bd9-0e7c-593a-92941ba0e002.htm b/src/CSScriptLib.Doc/Help/html/71751b67-4bd9-0e7c-593a-92941ba0e002.htm index e4c2a05a..1ec4aa5a 100644 --- a/src/CSScriptLib.Doc/Help/html/71751b67-4bd9-0e7c-593a-92941ba0e002.htm +++ b/src/CSScriptLib.Doc/Help/html/71751b67-4bd9-0e7c-593a-92941ba0e002.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Object LoadMethod(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Object LoadMethod(
 	string code
 )

Parameters

code
Type: SystemString
The C# script text.

Return Value

Type: Object
Instance of the first class defined in the script.

Implements

IEvaluatorLoadMethod(String)
Examples
The following is the simple example of the LoadMethod usage: diff --git a/src/CSScriptLib.Doc/Help/html/725a4e22-7d89-4917-a463-5c158943baf7.htm b/src/CSScriptLib.Doc/Help/html/725a4e22-7d89-4917-a463-5c158943baf7.htm index 6f3bde29..17163a12 100644 --- a/src/CSScriptLib.Doc/Help/html/725a4e22-7d89-4917-a463-5c158943baf7.htm +++ b/src/CSScriptLib.Doc/Help/html/725a4e22-7d89-4917-a463-5c158943baf7.htm @@ -1,10 +1,10 @@ -EvaluatorBase(T).TryReferenceAssemblyByNamespace Method

EvaluatorBaseTTryReferenceAssemblyByNamespace Method

+EvaluatorBase(T).TryReferenceAssemblyByNamespace Method

EvaluatorBaseTTryReferenceAssemblyByNamespace Method

References the assembly by the given namespace it implements.

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public IEvaluator TryReferenceAssemblyByNamespace(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public IEvaluator TryReferenceAssemblyByNamespace(
 	string namespace,
 	out bool resolved
 )

Parameters

namespace
Type: SystemString
The namespace.
resolved
Type: SystemBoolean
diff --git a/src/CSScriptLib.Doc/Help/html/725d2218-6a80-d905-eb80-4f5a29471ddd.htm b/src/CSScriptLib.Doc/Help/html/725d2218-6a80-d905-eb80-4f5a29471ddd.htm index 836caf71..f600f1e0 100644 --- a/src/CSScriptLib.Doc/Help/html/725d2218-6a80-d905-eb80-4f5a29471ddd.htm +++ b/src/CSScriptLib.Doc/Help/html/725d2218-6a80-d905-eb80-4f5a29471ddd.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static class PathExtensions

The PathExtensions type exposes the following members.

Methods
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static class PathExtensions

The PathExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberChangeExtension
Changes the extension of the file. diff --git a/src/CSScriptLib.Doc/Help/html/73d1f875-0f76-8ab8-10b1-8f40885c2ae0.htm b/src/CSScriptLib.Doc/Help/html/73d1f875-0f76-8ab8-10b1-8f40885c2ae0.htm index 52f7ec63..b19947f1 100644 --- a/src/CSScriptLib.Doc/Help/html/73d1f875-0f76-8ab8-10b1-8f40885c2ae0.htm +++ b/src/CSScriptLib.Doc/Help/html/73d1f875-0f76-8ab8-10b1-8f40885c2ae0.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
[SerializableAttribute]
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
[SerializableAttribute]
 public class CompilerException : ApplicationException

The CompilerException type exposes the following members.

Constructors
  NameDescription
Public methodCompilerException
diff --git a/src/CSScriptLib.Doc/Help/html/760a67de-924e-1d8a-ae13-459389a09793.htm b/src/CSScriptLib.Doc/Help/html/760a67de-924e-1d8a-ae13-459389a09793.htm index 88656b87..6ca24926 100644 --- a/src/CSScriptLib.Doc/Help/html/760a67de-924e-1d8a-ae13-459389a09793.htm +++ b/src/CSScriptLib.Doc/Help/html/760a67de-924e-1d8a-ae13-459389a09793.htm @@ -4,4 +4,4 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool DeployBuildServer()

Return Value

Type: Boolean

[Missing <returns> documentation for "M:CSScripting.Globals.DeployBuildServer"]

See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool DeployBuildServer()

Return Value

Type: Boolean

[Missing <returns> documentation for "M:CSScripting.Globals.DeployBuildServer"]

See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/766787cf-ddc9-27a9-fa45-4b46acc6f3c5.htm b/src/CSScriptLib.Doc/Help/html/766787cf-ddc9-27a9-fa45-4b46acc6f3c5.htm index 36e5beda..2be6a198 100644 --- a/src/CSScriptLib.Doc/Help/html/766787cf-ddc9-27a9-fa45-4b46acc6f3c5.htm +++ b/src/CSScriptLib.Doc/Help/html/766787cf-ddc9-27a9-fa45-4b46acc6f3c5.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public TempFileCollection TempFiles { get; set; }

Property Value

Type: TempFileCollection
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public TempFileCollection TempFiles { get; set; }

Property Value

Type: TempFileCollection
The temporary files.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/78976dd5-4163-18cb-da0f-c7e70d9d356d.htm b/src/CSScriptLib.Doc/Help/html/78976dd5-4163-18cb-da0f-c7e70d9d356d.htm index 42bbc6f8..00c3e827 100644 --- a/src/CSScriptLib.Doc/Help/html/78976dd5-4163-18cb-da0f-c7e70d9d356d.htm +++ b/src/CSScriptLib.Doc/Help/html/78976dd5-4163-18cb-da0f-c7e70d9d356d.htm @@ -6,7 +6,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public enum EvaluatorEngine
Members
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public enum EvaluatorEngine
Members
  Member nameValueDescription
Roslyn0 Roslyn compilation services diff --git a/src/CSScriptLib.Doc/Help/html/7921dcc5-be75-50b5-536f-ec597b6175a9.htm b/src/CSScriptLib.Doc/Help/html/7921dcc5-be75-50b5-536f-ec597b6175a9.htm index 040a1a77..50b23f44 100644 --- a/src/CSScriptLib.Doc/Help/html/7921dcc5-be75-50b5-536f-ec597b6175a9.htm +++ b/src/CSScriptLib.Doc/Help/html/7921dcc5-be75-50b5-536f-ec597b6175a9.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsEmpty<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsEmpty<T>(
 	this IEnumerable<T> collection
 )
 

Parameters

collection
Type: System.Collections.GenericIEnumerableT
The collection.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:CSScripting.LinqExtensions.IsEmpty``1(System.Collections.Generic.IEnumerable{``0})"]

Return Value

Type: Boolean
true if the specified collection is empty; otherwise, false. diff --git a/src/CSScriptLib.Doc/Help/html/79d33a54-8055-0298-8a44-d50142127d5a.htm b/src/CSScriptLib.Doc/Help/html/79d33a54-8055-0298-8a44-d50142127d5a.htm index b22ad685..bd84c737 100644 --- a/src/CSScriptLib.Doc/Help/html/79d33a54-8055-0298-8a44-d50142127d5a.htm +++ b/src/CSScriptLib.Doc/Help/html/79d33a54-8055-0298-8a44-d50142127d5a.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string PathNormaliseSeparators(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string PathNormaliseSeparators(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: String
A new normalized path.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/7abd5390-85fd-91a3-ddae-65237ba15e87.htm b/src/CSScriptLib.Doc/Help/html/7abd5390-85fd-91a3-ddae-65237ba15e87.htm index b83b23c1..1038554a 100644 --- a/src/CSScriptLib.Doc/Help/html/7abd5390-85fd-91a3-ddae-65237ba15e87.htm +++ b/src/CSScriptLib.Doc/Help/html/7abd5390-85fd-91a3-ddae-65237ba15e87.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string ErrorNumber { get; set; }

Property Value

Type: String
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string ErrorNumber { get; set; }

Property Value

Type: String
The error number.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/7c16b393-09a6-ee6a-cb8c-420183f2ab65.htm b/src/CSScriptLib.Doc/Help/html/7c16b393-09a6-ee6a-cb8c-420183f2ab65.htm index cdd4ec5f..2c57aaae 100644 --- a/src/CSScriptLib.Doc/Help/html/7c16b393-09a6-ee6a-cb8c-420183f2ab65.htm +++ b/src/CSScriptLib.Doc/Help/html/7c16b393-09a6-ee6a-cb8c-420183f2ab65.htm @@ -5,4 +5,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Files

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Files

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/7c96a2ac-351c-464a-6c9b-e1cab512840a.htm b/src/CSScriptLib.Doc/Help/html/7c96a2ac-351c-464a-6c9b-e1cab512840a.htm index bb2a0441..a2d61cd1 100644 --- a/src/CSScriptLib.Doc/Help/html/7c96a2ac-351c-464a-6c9b-e1cab512840a.htm +++ b/src/CSScriptLib.Doc/Help/html/7c96a2ac-351c-464a-6c9b-e1cab512840a.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ImportInfo(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ImportInfo(
 	string statement,
 	string parentScript
 )

Parameters

statement
Type: SystemString
CS-Script import directive (//css_import...) string.
parentScript
Type: SystemString
name of the parent (primary) script file.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/7d9f60f6-df61-5cab-cd86-f9b37d9a45db.htm b/src/CSScriptLib.Doc/Help/html/7d9f60f6-df61-5cab-cd86-f9b37d9a45db.htm index 25a342ef..240fb0c2 100644 --- a/src/CSScriptLib.Doc/Help/html/7d9f60f6-df61-5cab-cd86-f9b37d9a45db.htm +++ b/src/CSScriptLib.Doc/Help/html/7d9f60f6-df61-5cab-cd86-f9b37d9a45db.htm @@ -7,4 +7,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static RoslynEvaluator RoslynEvaluator { get; }

Property Value

Type: RoslynEvaluator
The RoslynEvaluator instance.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static RoslynEvaluator RoslynEvaluator { get; }

Property Value

Type: RoslynEvaluator
The RoslynEvaluator instance.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/7e97ab80-cbe9-b374-1302-21fb090912b1.htm b/src/CSScriptLib.Doc/Help/html/7e97ab80-cbe9-b374-1302-21fb090912b1.htm index a80da109..80a45d9f 100644 --- a/src/CSScriptLib.Doc/Help/html/7e97ab80-cbe9-b374-1302-21fb090912b1.htm +++ b/src/CSScriptLib.Doc/Help/html/7e97ab80-cbe9-b374-1302-21fb090912b1.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ScriptParser(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ScriptParser(
 	string fileName,
 	string[] searchDirs,
 	bool throwOnError
diff --git a/src/CSScriptLib.Doc/Help/html/8089c58b-f088-f426-bfa8-853fb375c052.htm b/src/CSScriptLib.Doc/Help/html/8089c58b-f088-f426-bfa8-853fb375c052.htm
index 83b8aa6f..8188909b 100644
--- a/src/CSScriptLib.Doc/Help/html/8089c58b-f088-f426-bfa8-853fb375c052.htm
+++ b/src/CSScriptLib.Doc/Help/html/8089c58b-f088-f426-bfa8-853fb375c052.htm
@@ -5,6 +5,6 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
[ObsoleteAttribute("The name of the property method is misspelled. Use `ReferenceDomainAssemblies` instead", 
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
[ObsoleteAttribute("The name of the property method is misspelled. Use `ReferenceDomainAssemblies` instead", 
 	false)]
 public bool RefernceDomainAsemblies { get; set; }

Property Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/81ba8ad2-08a5-5fd4-1440-753e4c76a1d6.htm b/src/CSScriptLib.Doc/Help/html/81ba8ad2-08a5-5fd4-1440-753e4c76a1d6.htm index 0638e7ab..42da7dd6 100644 --- a/src/CSScriptLib.Doc/Help/html/81ba8ad2-08a5-5fd4-1440-753e4c76a1d6.htm +++ b/src/CSScriptLib.Doc/Help/html/81ba8ad2-08a5-5fd4-1440-753e4c76a1d6.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string PathToAssembly { get; set; }

Property Value

Type: String
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string PathToAssembly { get; set; }

Property Value

Type: String
The path to assembly.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/830a18ce-f497-f2a1-843e-4b8eb15505f0.htm b/src/CSScriptLib.Doc/Help/html/830a18ce-f497-f2a1-843e-4b8eb15505f0.htm index 5614bb75..89518b0f 100644 --- a/src/CSScriptLib.Doc/Help/html/830a18ce-f497-f2a1-843e-4b8eb15505f0.htm +++ b/src/CSScriptLib.Doc/Help/html/830a18ce-f497-f2a1-843e-4b8eb15505f0.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsDir(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsDir(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: Boolean
true if the specified path is dir; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/834b1fdd-fabe-a0c9-6b35-3ce78dda2645.htm b/src/CSScriptLib.Doc/Help/html/834b1fdd-fabe-a0c9-6b35-3ce78dda2645.htm index c44b4b09..5df0dfc2 100644 --- a/src/CSScriptLib.Doc/Help/html/834b1fdd-fabe-a0c9-6b35-3ce78dda2645.htm +++ b/src/CSScriptLib.Doc/Help/html/834b1fdd-fabe-a0c9-6b35-3ce78dda2645.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSharpParserImportInfo[] Imports { get; }

Property Value

Type: CSharpParserImportInfo
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSharpParserImportInfo[] Imports { get; }

Property Value

Type: CSharpParserImportInfo
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/835964e9-e419-a3ca-5d60-78f94d3ad79d.htm b/src/CSScriptLib.Doc/Help/html/835964e9-e419-a3ca-5d60-78f94d3ad79d.htm index 0d70c32c..82329e91 100644 --- a/src/CSScriptLib.Doc/Help/html/835964e9-e419-a3ca-5d60-78f94d3ad79d.htm +++ b/src/CSScriptLib.Doc/Help/html/835964e9-e419-a3ca-5d60-78f94d3ad79d.htm @@ -10,7 +10,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public override IEvaluator Reset(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public override IEvaluator Reset(
 	bool referenceDomainAssemblies = true
 )

Parameters

referenceDomainAssemblies (Optional)
Type: SystemBoolean
if set to true the default assemblies of the current AppDomain will be referenced diff --git a/src/CSScriptLib.Doc/Help/html/83c83aee-4e9d-c68a-b76f-cc8bb0127fb7.htm b/src/CSScriptLib.Doc/Help/html/83c83aee-4e9d-c68a-b76f-cc8bb0127fb7.htm index cab4e428..9c63b160 100644 --- a/src/CSScriptLib.Doc/Help/html/83c83aee-4e9d-c68a-b76f-cc8bb0127fb7.htm +++ b/src/CSScriptLib.Doc/Help/html/83c83aee-4e9d-c68a-b76f-cc8bb0127fb7.htm @@ -6,4 +6,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetScriptTempDir()

Return Value

Type: String
Temporary directory name.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetScriptTempDir()

Return Value

Type: String
Temporary directory name.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/84144ad6-26ea-6026-f36a-935f10358d75.htm b/src/CSScriptLib.Doc/Help/html/84144ad6-26ea-6026-f36a-935f10358d75.htm index 48fa0a49..3267274e 100644 --- a/src/CSScriptLib.Doc/Help/html/84144ad6-26ea-6026-f36a-935f10358d75.htm +++ b/src/CSScriptLib.Doc/Help/html/84144ad6-26ea-6026-f36a-935f10358d75.htm @@ -2,4 +2,4 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public AssemblyResolver()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public AssemblyResolver()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/84d0b57a-5927-77c0-91f4-af8f51d4ce39.htm b/src/CSScriptLib.Doc/Help/html/84d0b57a-5927-77c0-91f4-af8f51d4ce39.htm index 81a59a2c..e07b6c88 100644 --- a/src/CSScriptLib.Doc/Help/html/84d0b57a-5927-77c0-91f4-af8f51d4ce39.htm +++ b/src/CSScriptLib.Doc/Help/html/84d0b57a-5927-77c0-91f4-af8f51d4ce39.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSharpParser(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSharpParser(
 	string script,
 	bool isFile,
 	string[] directivesToSearch
diff --git a/src/CSScriptLib.Doc/Help/html/8633c34f-f1e2-e370-5d13-d2725126503e.htm b/src/CSScriptLib.Doc/Help/html/8633c34f-f1e2-e370-5d13-d2725126503e.htm
index 33e686e6..9b7b1407 100644
--- a/src/CSScriptLib.Doc/Help/html/8633c34f-f1e2-e370-5d13-d2725126503e.htm
+++ b/src/CSScriptLib.Doc/Help/html/8633c34f-f1e2-e370-5d13-d2725126503e.htm
@@ -5,7 +5,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
void Check(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
void Check(
 	string scriptText
 )

Parameters

scriptText
Type: SystemString
The script text.
Examples
try
 {
diff --git a/src/CSScriptLib.Doc/Help/html/8635a3b6-4dda-78b6-3c00-b680f5bd52bf.htm b/src/CSScriptLib.Doc/Help/html/8635a3b6-4dda-78b6-3c00-b680f5bd52bf.htm
index e1ad14f0..3547aee6 100644
--- a/src/CSScriptLib.Doc/Help/html/8635a3b6-4dda-78b6-3c00-b680f5bd52bf.htm
+++ b/src/CSScriptLib.Doc/Help/html/8635a3b6-4dda-78b6-3c00-b680f5bd52bf.htm
@@ -7,7 +7,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
MethodDelegate<T> CreateDelegate<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
MethodDelegate<T> CreateDelegate<T>(
 	string code
 )
 

Parameters

code
Type: SystemString
The C# code.

Type Parameters

T
The delegate return type.

Return Value

Type: MethodDelegateT
The instance of a typed MethodDelegateT
Examples
var product = CSScript.Evaluator
diff --git a/src/CSScriptLib.Doc/Help/html/86dd366d-0805-f56f-14fd-3eb1106bd1ae.htm b/src/CSScriptLib.Doc/Help/html/86dd366d-0805-f56f-14fd-3eb1106bd1ae.htm
index 73db6a1d..2446c429 100644
--- a/src/CSScriptLib.Doc/Help/html/86dd366d-0805-f56f-14fd-3eb1106bd1ae.htm
+++ b/src/CSScriptLib.Doc/Help/html/86dd366d-0805-f56f-14fd-3eb1106bd1ae.htm
@@ -7,7 +7,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public IEvaluator ReferenceAssemblyOf(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public IEvaluator ReferenceAssemblyOf(
 	Object obj
 )

Parameters

obj
Type: SystemObject
The object, which belongs to the assembly to be referenced.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/87cbc735-60de-4827-00d1-8aaef756c074.htm b/src/CSScriptLib.Doc/Help/html/87cbc735-60de-4827-00d1-8aaef756c074.htm index c917987d..fd725316 100644 --- a/src/CSScriptLib.Doc/Help/html/87cbc735-60de-4827-00d1-8aaef756c074.htm +++ b/src/CSScriptLib.Doc/Help/html/87cbc735-60de-4827-00d1-8aaef756c074.htm @@ -4,7 +4,7 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public delegate string[] ResolveSourceFileAlgorithm(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public delegate string[] ResolveSourceFileAlgorithm(
 	string file,
 	string[] searchDirs,
 	bool throwOnError
diff --git a/src/CSScriptLib.Doc/Help/html/880fc067-80dd-ddea-09d8-42f95fd7963f.htm b/src/CSScriptLib.Doc/Help/html/880fc067-80dd-ddea-09d8-42f95fd7963f.htm
index 22055924..e4fffb25 100644
--- a/src/CSScriptLib.Doc/Help/html/880fc067-80dd-ddea-09d8-42f95fd7963f.htm
+++ b/src/CSScriptLib.Doc/Help/html/880fc067-80dd-ddea-09d8-42f95fd7963f.htm
@@ -1,4 +1,4 @@
-EvaluatorBase(T).Clone Method 

EvaluatorBaseTClone Method

+EvaluatorBase(T).Clone Method

EvaluatorBaseTClone Method

Clones itself as IEvaluator.

This method returns a freshly initialized copy of the IEvaluator. The cloning 'depth' can be controlled by the copyRefAssemblies. @@ -9,7 +9,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public IEvaluator Clone(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public IEvaluator Clone(
 	bool copyRefAssemblies = true
 )

Parameters

copyRefAssemblies (Optional)
Type: SystemBoolean
if set to true all referenced assemblies from the parent IEvaluator will be referenced in the cloned copy. diff --git a/src/CSScriptLib.Doc/Help/html/88d98743-1f06-8b2e-46ca-ebf48cee4f00.htm b/src/CSScriptLib.Doc/Help/html/88d98743-1f06-8b2e-46ca-ebf48cee4f00.htm index febdc002..fa479178 100644 --- a/src/CSScriptLib.Doc/Help/html/88d98743-1f06-8b2e-46ca-ebf48cee4f00.htm +++ b/src/CSScriptLib.Doc/Help/html/88d98743-1f06-8b2e-46ca-ebf48cee4f00.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public override string[] GetReferencedAssembliesFiles()

Return Value

Type: String
The method result.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public override string[] GetReferencedAssembliesFiles()

Return Value

Type: String
The method result.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8990abcd-0048-0e49-f99b-36350c3d1ce3.htm b/src/CSScriptLib.Doc/Help/html/8990abcd-0048-0e49-f99b-36350c3d1ce3.htm index 9f0129ee..018995b9 100644 --- a/src/CSScriptLib.Doc/Help/html/8990abcd-0048-0e49-f99b-36350c3d1ce3.htm +++ b/src/CSScriptLib.Doc/Help/html/8990abcd-0048-0e49-f99b-36350c3d1ce3.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CompilerException(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CompilerException(
 	string message
 )

Parameters

message
Type: SystemString
The message.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8b7d0e50-f2b2-95b2-a061-3e8128dc9338.htm b/src/CSScriptLib.Doc/Help/html/8b7d0e50-f2b2-95b2-a061-3e8128dc9338.htm index 182a27b1..aa5f0bdf 100644 --- a/src/CSScriptLib.Doc/Help/html/8b7d0e50-f2b2-95b2-a061-3e8128dc9338.htm +++ b/src/CSScriptLib.Doc/Help/html/8b7d0e50-f2b2-95b2-a061-3e8128dc9338.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string TrimSingle(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string TrimSingle(
 	this string text,
 	params char[] trimChars
 )

Parameters

text
Type: SystemString
The text.
trimChars
Type: SystemChar
The trim chars.

Return Value

Type: String
The result of trimming.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8ba13135-1f7c-cef0-5fe7-dc75b19beec2.htm b/src/CSScriptLib.Doc/Help/html/8ba13135-1f7c-cef0-5fe7-dc75b19beec2.htm index 568bb70e..855a7dc1 100644 --- a/src/CSScriptLib.Doc/Help/html/8ba13135-1f7c-cef0-5fe7-dc75b19beec2.htm +++ b/src/CSScriptLib.Doc/Help/html/8ba13135-1f7c-cef0-5fe7-dc75b19beec2.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool HasText(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool HasText(
 	this string text
 )

Parameters

text
Type: SystemString
The text.

Return Value

Type: Boolean
true if the specified text has text; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8bdb6840-f8b9-a23c-a912-072e2d7bfe9f.htm b/src/CSScriptLib.Doc/Help/html/8bdb6840-f8b9-a23c-a912-072e2d7bfe9f.htm index 672fe75d..ab3f2e65 100644 --- a/src/CSScriptLib.Doc/Help/html/8bdb6840-f8b9-a23c-a912-072e2d7bfe9f.htm +++ b/src/CSScriptLib.Doc/Help/html/8bdb6840-f8b9-a23c-a912-072e2d7bfe9f.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
Object LoadFile(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
Object LoadFile(
 	string scriptFile,
 	params Object[] args
 )

Parameters

scriptFile
Type: SystemString
The C# script file.
args
Type: SystemObject
Optional non-default constructor arguments.

Return Value

Type: Object
Instance of the class defined in the script file.
Examples
The following is the simple example of the interface alignment: diff --git a/src/CSScriptLib.Doc/Help/html/8c43d32e-f3d6-96ab-af8b-fe2c530b8f5f.htm b/src/CSScriptLib.Doc/Help/html/8c43d32e-f3d6-96ab-af8b-fe2c530b8f5f.htm index 401f0052..b4ecea12 100644 --- a/src/CSScriptLib.Doc/Help/html/8c43d32e-f3d6-96ab-af8b-fe2c530b8f5f.htm +++ b/src/CSScriptLib.Doc/Help/html/8c43d32e-f3d6-96ab-af8b-fe2c530b8f5f.htm @@ -1,4 +1,4 @@ -CSharpParser.UnescapeDirectiveDelimiters Method

CSharpParserUnescapeDirectiveDelimiters Method

+CSharpParser.UnescapeDirectiveDelimiters Method

CSharpParserUnescapeDirectiveDelimiters Method

Unescapes the CS-Script directive (e.g. //css_*) delimiters.

All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character. For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. @@ -8,6 +8,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public static string UnescapeDirectiveDelimiters(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string UnescapeDirectiveDelimiters(
 	string text
 )

Parameters

text
Type: SystemString
The text to be processed.

Return Value

Type: String
The unescaped string.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8d0c657b-fe54-ada4-ac1a-f25481f1a204.htm b/src/CSScriptLib.Doc/Help/html/8d0c657b-fe54-ada4-ac1a-f25481f1a204.htm index 207925aa..24e4cf36 100644 --- a/src/CSScriptLib.Doc/Help/html/8d0c657b-fe54-ada4-ac1a-f25481f1a204.htm +++ b/src/CSScriptLib.Doc/Help/html/8d0c657b-fe54-ada4-ac1a-f25481f1a204.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ScriptParser(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ScriptParser(
 	string fileName
 )

Parameters

fileName
Type: SystemString
Script file name
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8d901c29-e4ed-e9c9-0ce6-45a26cb5de74.htm b/src/CSScriptLib.Doc/Help/html/8d901c29-e4ed-e9c9-0ce6-45a26cb5de74.htm index f60376b2..ceb0035f 100644 --- a/src/CSScriptLib.Doc/Help/html/8d901c29-e4ed-e9c9-0ce6-45a26cb5de74.htm +++ b/src/CSScriptLib.Doc/Help/html/8d901c29-e4ed-e9c9-0ce6-45a26cb5de74.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator ReferenceAssemblyOf<T>()
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator ReferenceAssemblyOf<T>()
 

Type Parameters

T
The type which is implemented in the assembly to be referenced.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8e328e0b-0cb7-4812-61a6-557bccbc5001.htm b/src/CSScriptLib.Doc/Help/html/8e328e0b-0cb7-4812-61a6-557bccbc5001.htm index a18107e3..c0472140 100644 --- a/src/CSScriptLib.Doc/Help/html/8e328e0b-0cb7-4812-61a6-557bccbc5001.htm +++ b/src/CSScriptLib.Doc/Help/html/8e328e0b-0cb7-4812-61a6-557bccbc5001.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static class LinqExtensions

The LinqExtensions type exposes the following members.

Methods
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static class LinqExtensions

The LinqExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddItemTSource
Adds a single item to the collection. diff --git a/src/CSScriptLib.Doc/Help/html/8ea7f8d7-26f3-d98f-c3d8-569053b0ad57.htm b/src/CSScriptLib.Doc/Help/html/8ea7f8d7-26f3-d98f-c3d8-569053b0ad57.htm index dcccbf4f..6a52be7f 100644 --- a/src/CSScriptLib.Doc/Help/html/8ea7f8d7-26f3-d98f-c3d8-569053b0ad57.htm +++ b/src/CSScriptLib.Doc/Help/html/8ea7f8d7-26f3-d98f-c3d8-569053b0ad57.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public int ErrorCount { get; set; }

Property Value

Type: Int32
The error count.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public int ErrorCount { get; set; }

Property Value

Type: Int32
The error count.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8eed2f6c-0e19-3dc2-8b02-202e02c303c7.htm b/src/CSScriptLib.Doc/Help/html/8eed2f6c-0e19-3dc2-8b02-202e02c303c7.htm index 9967c640..4c5b3aa4 100644 --- a/src/CSScriptLib.Doc/Help/html/8eed2f6c-0e19-3dc2-8b02-202e02c303c7.htm +++ b/src/CSScriptLib.Doc/Help/html/8eed2f6c-0e19-3dc2-8b02-202e02c303c7.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
string[] GetReferencedAssemblies(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
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
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8efb73f4-cbaf-7371-a451-39e439fc60e9.htm b/src/CSScriptLib.Doc/Help/html/8efb73f4-cbaf-7371-a451-39e439fc60e9.htm index aa9109e6..cfd7f5c5 100644 --- a/src/CSScriptLib.Doc/Help/html/8efb73f4-cbaf-7371-a451-39e439fc60e9.htm +++ b/src/CSScriptLib.Doc/Help/html/8efb73f4-cbaf-7371-a451-39e439fc60e9.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string[] PathGetDirs(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string[] PathGetDirs(
 	this string path,
 	string mask
 )

Parameters

path
Type: SystemString
The path.
mask
Type: SystemString
The mask.

Return Value

Type: String
A list of the discovered directories.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8f2e372b-1dfa-724b-de9c-74cd92f042b1.htm b/src/CSScriptLib.Doc/Help/html/8f2e372b-1dfa-724b-de9c-74cd92f042b1.htm index 87e7ffb1..b9347167 100644 --- a/src/CSScriptLib.Doc/Help/html/8f2e372b-1dfa-724b-de9c-74cd92f042b1.htm +++ b/src/CSScriptLib.Doc/Help/html/8f2e372b-1dfa-724b-de9c-74cd92f042b1.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void CleanUnusedTmpFiles(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void CleanUnusedTmpFiles(
 	string dir,
 	string pattern,
 	bool verifyPid
diff --git a/src/CSScriptLib.Doc/Help/html/8fb431a4-af6f-75a9-618a-31c3ae15cf24.htm b/src/CSScriptLib.Doc/Help/html/8fb431a4-af6f-75a9-618a-31c3ae15cf24.htm
index 901b33df..f7d7a974 100644
--- a/src/CSScriptLib.Doc/Help/html/8fb431a4-af6f-75a9-618a-31c3ae15cf24.htm
+++ b/src/CSScriptLib.Doc/Help/html/8fb431a4-af6f-75a9-618a-31c3ae15cf24.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Dictionary<Object, Object> CustomDirectives

Field Value

Type: DictionaryObject, Object
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Dictionary<Object, Object> CustomDirectives

Field Value

Type: DictionaryObject, Object
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/8ffb5221-d395-1789-803e-2716762a85b6.htm b/src/CSScriptLib.Doc/Help/html/8ffb5221-d395-1789-803e-2716762a85b6.htm index 9584e0e6..50e3b71d 100644 --- a/src/CSScriptLib.Doc/Help/html/8ffb5221-d395-1789-803e-2716762a85b6.htm +++ b/src/CSScriptLib.Doc/Help/html/8ffb5221-d395-1789-803e-2716762a85b6.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] RefNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] RefNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/90b1bce2-b7af-8bdf-6f5b-252daf6301b7.htm b/src/CSScriptLib.Doc/Help/html/90b1bce2-b7af-8bdf-6f5b-252daf6301b7.htm index f99ce425..7967a114 100644 --- a/src/CSScriptLib.Doc/Help/html/90b1bce2-b7af-8bdf-6f5b-252daf6301b7.htm +++ b/src/CSScriptLib.Doc/Help/html/90b1bce2-b7af-8bdf-6f5b-252daf6301b7.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsEmpty(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsEmpty(
 	this string text
 )

Parameters

text
Type: SystemString
The text.

Return Value

Type: Boolean
true if the specified text is empty; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9144f731-d0a6-9b8a-67ad-58890d3c9239.htm b/src/CSScriptLib.Doc/Help/html/9144f731-d0a6-9b8a-67ad-58890d3c9239.htm index 1e79541b..377e671d 100644 --- a/src/CSScriptLib.Doc/Help/html/9144f731-d0a6-9b8a-67ad-58890d3c9239.htm +++ b/src/CSScriptLib.Doc/Help/html/9144f731-d0a6-9b8a-67ad-58890d3c9239.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static IEnumerable<TSource> AddItem<TSource>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static IEnumerable<TSource> AddItem<TSource>(
 	this IEnumerable<TSource> items,
 	TSource item
 )
diff --git a/src/CSScriptLib.Doc/Help/html/92b5d386-3f17-f4d1-6170-5eb634eb8424.htm b/src/CSScriptLib.Doc/Help/html/92b5d386-3f17-f4d1-6170-5eb634eb8424.htm
index a7577e95..37de1962 100644
--- a/src/CSScriptLib.Doc/Help/html/92b5d386-3f17-f4d1-6170-5eb634eb8424.htm
+++ b/src/CSScriptLib.Doc/Help/html/92b5d386-3f17-f4d1-6170-5eb634eb8424.htm
@@ -7,4 +7,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public EvaluatorAccess Access { get; set; }

Property Value

Type: EvaluatorAccess
The access.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public EvaluatorAccess Access { get; set; }

Property Value

Type: EvaluatorAccess
The access.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9444c04e-cf37-e231-e78d-547795d56d5f.htm b/src/CSScriptLib.Doc/Help/html/9444c04e-cf37-e231-e78d-547795d56d5f.htm index a2d5d0e8..352df1bd 100644 --- a/src/CSScriptLib.Doc/Help/html/9444c04e-cf37-e231-e78d-547795d56d5f.htm +++ b/src/CSScriptLib.Doc/Help/html/9444c04e-cf37-e231-e78d-547795d56d5f.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
string CompileAssemblyFromCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
string CompileAssemblyFromCode(
 	string scriptText,
 	string outputFile
 )

Parameters

scriptText
Type: SystemString
The C# script text.
outputFile
Type: SystemString
The path to the assembly file to be compiled.

Return Value

Type: String
The compiled assembly file path.
Examples
string asmFile = CSScript.Evaluator
diff --git a/src/CSScriptLib.Doc/Help/html/949ff6b5-d500-f1b5-ee17-4c3077dcaf82.htm b/src/CSScriptLib.Doc/Help/html/949ff6b5-d500-f1b5-ee17-4c3077dcaf82.htm
index 005db9ac..49d30bd4 100644
--- a/src/CSScriptLib.Doc/Help/html/949ff6b5-d500-f1b5-ee17-4c3077dcaf82.htm
+++ b/src/CSScriptLib.Doc/Help/html/949ff6b5-d500-f1b5-ee17-4c3077dcaf82.htm
@@ -9,7 +9,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public List<string> AgregateReferences(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public List<string> AgregateReferences(
 	IEnumerable<string> searchDirs,
 	IEnumerable<string> defaultRefAsms,
 	IEnumerable<string> defaultNamespacess
diff --git a/src/CSScriptLib.Doc/Help/html/952dd951-8b9b-b5b2-bc56-c34e4e3226b8.htm b/src/CSScriptLib.Doc/Help/html/952dd951-8b9b-b5b2-bc56-c34e4e3226b8.htm
index 92ac1003..3f88027f 100644
--- a/src/CSScriptLib.Doc/Help/html/952dd951-8b9b-b5b2-bc56-c34e4e3226b8.htm
+++ b/src/CSScriptLib.Doc/Help/html/952dd951-8b9b-b5b2-bc56-c34e4e3226b8.htm
@@ -4,6 +4,6 @@
     Namespace: 
    CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static CompilerError Parse(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static CompilerError Parse(
 	string compilerOutput
 )

Parameters

compilerOutput
Type: SystemString
The compiler output.

Return Value

Type: CompilerError
Error object
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/95ae8284-4579-383f-ffd7-2b3931f40877.htm b/src/CSScriptLib.Doc/Help/html/95ae8284-4579-383f-ffd7-2b3931f40877.htm index 839e74ee..04f779fb 100644 --- a/src/CSScriptLib.Doc/Help/html/95ae8284-4579-383f-ffd7-2b3931f40877.htm +++ b/src/CSScriptLib.Doc/Help/html/95ae8284-4579-383f-ffd7-2b3931f40877.htm @@ -1,4 +1,4 @@ -EvaluatorBase(T) Methods

EvaluatorBaseT Methods

The EvaluatorBaseT generic type exposes the following members.

Methods
+EvaluatorBase(T) Methods

EvaluatorBaseT Methods

The EvaluatorBaseT generic type exposes the following members.

Methods
  NameDescription
Public methodCode exampleCheck
Compiles the specified script text without loading it into the AppDomain or @@ -46,6 +46,9 @@ the code with CS-Script directives (//css_ref).
Public methodGetReferencedAssembliesFiles
Gets the referenced assemblies files. +
Public methodGetReferencedAssembliesFromScript
+ Analyses the script file code and returns set of locations for the assemblies referenced from + the code with CS-Script directives (//css_ref).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
Evaluates and loads C# code to the current AppDomain. Returns instance of the first class defined in the code.
Public methodCode exampleLoadCodeT(String, Object)
@@ -134,12 +137,12 @@ Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
dynamic script = CSScript.Evaluator
+             
dynamic script = CSScript.Evaluator
 .ExcludeReferencedAssemblies(this.GetType().Assembly)
-.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
+.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
dynamic script = CSScript.Evaluator
+             
dynamic script = CSScript.Evaluator
 .ExcludeReferencedAssemblies(new[]{this.GetType().Assembly})
-.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file +.LoadCode(scriptCode); (Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm b/src/CSScriptLib.Doc/Help/html/9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm index f363eee1..7ba35537 100644 --- a/src/CSScriptLib.Doc/Help/html/9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm +++ b/src/CSScriptLib.Doc/Help/html/9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm @@ -2,7 +2,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class RoslynEvaluator : EvaluatorBase<RoslynEvaluator>, 
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class RoslynEvaluator : EvaluatorBase<RoslynEvaluator>, 
 	IEvaluator

The RoslynEvaluator type exposes the following members.

Constructors
  NameDescription
Public methodRoslynEvaluator
Initializes a new instance of the RoslynEvaluator class
Top
Properties
@@ -81,9 +81,12 @@ the code with CS-Script directives (//css_ref). (Inherited from EvaluatorBaseT.)
Public methodGetReferencedAssembliesFiles
Gets the referenced assemblies files. -
(Inherited from EvaluatorBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
+
(Inherited from EvaluatorBaseT.)
Public methodGetReferencedAssembliesFromScript
+ Analyses the script file code and returns set of locations for the assemblies referenced from + the code with CS-Script directives (//css_ref). +
(Inherited from EvaluatorBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
Evaluates and loads C# code to the current AppDomain. Returns instance of the first class defined in the code. -
(Inherited from EvaluatorBaseT.)
Public methodStatic memberLoadCompilers
+
(Inherited from EvaluatorBaseT.)
Public methodStatic memberLoadCompilers
Loads the assemblies implementing Roslyn compilers.

Roslyn compilers are extremely heavy and loading the compiler assemblies for with the @@ -92,55 +95,55 @@

You may want to call this method to pre-load the compiler assembly your script evaluation performance. -

Public methodCode exampleLoadDelegateT
+

Public methodCode exampleLoadDelegateT
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain.

Returns instance of T delegate for the first method in the auto-generated class. -

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
+

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
Evaluates and loads C# code from the specified file to the current AppDomain. Returns instance of the first class defined in the script file. -
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
+
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
+
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
References the assemblies from the script code.

The method analyses and tries to resolve CS-Script directives (e.g. '//css_ref') and 'used' namespaces based on the optional search directories. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
References the given assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
+

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
References the given assembly by the assembly path.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
References the name of the assembly by its partial name.

Note that the referenced assembly will be loaded into the host AppDomain in order to resolve assembly partial name. -

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
+

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
References the assembly by the given namespace it implements.

Adds assembly reference if the namespace was successfully resolved (found) and, otherwise does nothing -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
References the assemblies the are already loaded into the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Public methodReset
+
(Inherited from EvaluatorBaseT.)
Public methodReset
Resets Evaluator.

Resetting means clearing all referenced assemblies, recreating evaluation infrastructure @@ -148,32 +151,32 @@

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

(Overrides EvaluatorBaseTReset(Boolean).)
Public methodSetRefAssemblyFilter
+

(Overrides EvaluatorBaseTReset(Boolean).)
Public methodSetRefAssemblyFilter
Sets the filter for referenced assemblies. The filter is to be applied just before the assemblies are to be referenced during the script execution.
dynamic script = CSScript.Evaluator
 .SetRefAssemblyFilter(asms =>
 asms.Where(a => !a.FullName.StartsWith("Microsoft."))
-.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
+.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
References the assembly by the given namespace it implements. -
(Inherited from EvaluatorBaseT.)
Protected methodValidate
+
(Inherited from EvaluatorBaseT.)
Protected methodValidate
Validates the specified information. -
(Inherited from EvaluatorBaseT.)
Top
Fields
Fields
Extension Methods
Extension Methods
  - NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
+
NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
+.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Top
See Also
\ No newline at end of file +.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/96801cc9-12b8-3725-3ab0-34d315aee567.htm b/src/CSScriptLib.Doc/Help/html/96801cc9-12b8-3725-3ab0-34d315aee567.htm index b977081d..0e198e54 100644 --- a/src/CSScriptLib.Doc/Help/html/96801cc9-12b8-3725-3ab0-34d315aee567.htm +++ b/src/CSScriptLib.Doc/Help/html/96801cc9-12b8-3725-3ab0-34d315aee567.htm @@ -1,4 +1,4 @@ -EvaluatorBase(T).LoadDelegate(T) Method

EvaluatorBaseTLoadDelegateT Method

+EvaluatorBase(T).LoadDelegate(T) Method

EvaluatorBaseTLoadDelegateT Method

Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain.

@@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public T LoadDelegate<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public T LoadDelegate<T>(
 	string code
 )
 where T : class
diff --git a/src/CSScriptLib.Doc/Help/html/991c7241-96e7-0229-61b3-d990b4e0d3e6.htm b/src/CSScriptLib.Doc/Help/html/991c7241-96e7-0229-61b3-d990b4e0d3e6.htm
index cb56882a..511a039d 100644
--- a/src/CSScriptLib.Doc/Help/html/991c7241-96e7-0229-61b3-d990b4e0d3e6.htm
+++ b/src/CSScriptLib.Doc/Help/html/991c7241-96e7-0229-61b3-d990b4e0d3e6.htm
@@ -5,7 +5,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Object LoadFile(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Object LoadFile(
 	string scriptFile,
 	params Object[] args
 )

Parameters

scriptFile
Type: SystemString
The C# script file.
args
Type: SystemObject
Optional non-default constructor arguments.

Return Value

Type: Object
Instance of the class defined in the script file.

Implements

IEvaluatorLoadFile(String, Object)
Examples
The following is the simple example of the interface alignment: diff --git a/src/CSScriptLib.Doc/Help/html/993e2869-4eeb-90e2-a5d9-713662deb2bb.htm b/src/CSScriptLib.Doc/Help/html/993e2869-4eeb-90e2-a5d9-713662deb2bb.htm index 7e4fd37f..fbdfe7c0 100644 --- a/src/CSScriptLib.Doc/Help/html/993e2869-4eeb-90e2-a5d9-713662deb2bb.htm +++ b/src/CSScriptLib.Doc/Help/html/993e2869-4eeb-90e2-a5d9-713662deb2bb.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public List<string> Output { get; set; }

Property Value

Type: ListString
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public List<string> Output { get; set; }

Property Value

Type: ListString
The output.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/99418b18-b71b-9033-7c08-6ff39aac88d2.htm b/src/CSScriptLib.Doc/Help/html/99418b18-b71b-9033-7c08-6ff39aac88d2.htm index 8973a50f..8c6f126c 100644 --- a/src/CSScriptLib.Doc/Help/html/99418b18-b71b-9033-7c08-6ff39aac88d2.htm +++ b/src/CSScriptLib.Doc/Help/html/99418b18-b71b-9033-7c08-6ff39aac88d2.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator ReferenceAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator ReferenceAssembly(
 	string assembly
 )

Parameters

assembly
Type: SystemString
The path to the assembly file.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/99715cef-706e-a399-64e1-da83f52f4b31.htm b/src/CSScriptLib.Doc/Help/html/99715cef-706e-a399-64e1-da83f52f4b31.htm index 29f1dd8c..dcf0435e 100644 --- a/src/CSScriptLib.Doc/Help/html/99715cef-706e-a399-64e1-da83f52f4b31.htm +++ b/src/CSScriptLib.Doc/Help/html/99715cef-706e-a399-64e1-da83f52f4b31.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] IgnoreNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] IgnoreNamespaces { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9a9491af-2960-c09e-1fcf-90bb059dab0f.htm b/src/CSScriptLib.Doc/Help/html/9a9491af-2960-c09e-1fcf-90bb059dab0f.htm index 1161ea76..52417d81 100644 --- a/src/CSScriptLib.Doc/Help/html/9a9491af-2960-c09e-1fcf-90bb059dab0f.htm +++ b/src/CSScriptLib.Doc/Help/html/9a9491af-2960-c09e-1fcf-90bb059dab0f.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void CleanAbandonedCache()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void CleanAbandonedCache()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9ac450f8-8e3e-736c-0336-1adb1f0ab439.htm b/src/CSScriptLib.Doc/Help/html/9ac450f8-8e3e-736c-0336-1adb1f0ab439.htm index 30a626c7..03f70cba 100644 --- a/src/CSScriptLib.Doc/Help/html/9ac450f8-8e3e-736c-0336-1adb1f0ab439.htm +++ b/src/CSScriptLib.Doc/Help/html/9ac450f8-8e3e-736c-0336-1adb1f0ab439.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public int Line { get; set; }

Property Value

Type: Int32
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public int Line { get; set; }

Property Value

Type: Int32
The line.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9bff21b9-3af0-66e8-e3e1-4f04896b6c5f.htm b/src/CSScriptLib.Doc/Help/html/9bff21b9-3af0-66e8-e3e1-4f04896b6c5f.htm index d8188af8..a973f257 100644 --- a/src/CSScriptLib.Doc/Help/html/9bff21b9-3af0-66e8-e3e1-4f04896b6c5f.htm +++ b/src/CSScriptLib.Doc/Help/html/9bff21b9-3af0-66e8-e3e1-4f04896b6c5f.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetFullPath(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetFullPath(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: String
The path

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9eb85bf0-62eb-f51c-9105-aab916d8b926.htm b/src/CSScriptLib.Doc/Help/html/9eb85bf0-62eb-f51c-9105-aab916d8b926.htm index 681cc81d..696c9c31 100644 --- a/src/CSScriptLib.Doc/Help/html/9eb85bf0-62eb-f51c-9105-aab916d8b926.htm +++ b/src/CSScriptLib.Doc/Help/html/9eb85bf0-62eb-f51c-9105-aab916d8b926.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CompilerException()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CompilerException()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9f3739e0-2425-4446-7cbf-b5ac70979965.htm b/src/CSScriptLib.Doc/Help/html/9f3739e0-2425-4446-7cbf-b5ac70979965.htm index 6f974392..5ae7986f 100644 --- a/src/CSScriptLib.Doc/Help/html/9f3739e0-2425-4446-7cbf-b5ac70979965.htm +++ b/src/CSScriptLib.Doc/Help/html/9f3739e0-2425-4446-7cbf-b5ac70979965.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string[] GetLines(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string[] GetLines(
 	this string str
 )

Parameters

str
Type: SystemString
The string.

Return Value

Type: String
The method result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/9f55be09-ce20-f8e8-84a9-c6c4c429d0af.htm b/src/CSScriptLib.Doc/Help/html/9f55be09-ce20-f8e8-84a9-c6c4c429d0af.htm index bcf54859..a841db75 100644 --- a/src/CSScriptLib.Doc/Help/html/9f55be09-ce20-f8e8-84a9-c6c4c429d0af.htm +++ b/src/CSScriptLib.Doc/Help/html/9f55be09-ce20-f8e8-84a9-c6c4c429d0af.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class CSScript

The CSScript type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class CSScript

The CSScript type exposes the following members.

Constructors
  NameDescription
Public methodCSScript
Initializes a new instance of the CSScript class
Top
Properties
  diff --git a/src/CSScriptLib.Doc/Help/html/9fc04891-14d4-6231-2985-ef92ec6d48a2.htm b/src/CSScriptLib.Doc/Help/html/9fc04891-14d4-6231-2985-ef92ec6d48a2.htm index 60ec015f..40dd2833 100644 --- a/src/CSScriptLib.Doc/Help/html/9fc04891-14d4-6231-2985-ef92ec6d48a2.htm +++ b/src/CSScriptLib.Doc/Help/html/9fc04891-14d4-6231-2985-ef92ec6d48a2.htm @@ -4,7 +4,7 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string[] FindAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string[] FindAssembly(
 	string name,
 	string[] searchDirs
 )

Parameters

name
Type: SystemString
'namespace'/assembly(file) name
searchDirs
Type: SystemString
Assembly search directories

Return Value

Type: String
collection of assembly file names where namespace is implemented
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a0186b42-b92f-d341-c03b-c4bbd9787c3b.htm b/src/CSScriptLib.Doc/Help/html/a0186b42-b92f-d341-c03b-c4bbd9787c3b.htm index d78ec262..2cc96dc0 100644 --- a/src/CSScriptLib.Doc/Help/html/a0186b42-b92f-d341-c03b-c4bbd9787c3b.htm +++ b/src/CSScriptLib.Doc/Help/html/a0186b42-b92f-d341-c03b-c4bbd9787c3b.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static Object CreateObject(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static Object CreateObject(
 	this Assembly asm,
 	string typeName,
 	params Object[] args
diff --git a/src/CSScriptLib.Doc/Help/html/a09e46cf-ab4b-7ef6-2ace-89913891f2b0.htm b/src/CSScriptLib.Doc/Help/html/a09e46cf-ab4b-7ef6-2ace-89913891f2b0.htm
index 7350a491..d0348549 100644
--- a/src/CSScriptLib.Doc/Help/html/a09e46cf-ab4b-7ef6-2ace-89913891f2b0.htm
+++ b/src/CSScriptLib.Doc/Help/html/a09e46cf-ab4b-7ef6-2ace-89913891f2b0.htm
@@ -4,7 +4,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
protected override void Validate(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
protected override void Validate(
 	CompileInfo info
 )

Parameters

info
Type: CSScriptLibCompileInfo
The information.
Exceptions
ExceptionCondition
CSScriptException CompileInfo.RootClass property should only be used with Roslyn evaluator as " + "it diff --git a/src/CSScriptLib.Doc/Help/html/a0b67e44-9868-8152-637b-997ab0f4075a.htm b/src/CSScriptLib.Doc/Help/html/a0b67e44-9868-8152-637b-997ab0f4075a.htm index 5429325e..8575e526 100644 --- a/src/CSScriptLib.Doc/Help/html/a0b67e44-9868-8152-637b-997ab0f4075a.htm +++ b/src/CSScriptLib.Doc/Help/html/a0b67e44-9868-8152-637b-997ab0f4075a.htm @@ -7,4 +7,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static CodeDomEvaluator CodeDomEvaluator { get; }

Property Value

Type: CodeDomEvaluator
The CodeDomEvaluator instance.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static CodeDomEvaluator CodeDomEvaluator { get; }

Property Value

Type: CodeDomEvaluator
The CodeDomEvaluator instance.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a0d74cc3-639b-ca15-c9d5-bca5a3b23a85.htm b/src/CSScriptLib.Doc/Help/html/a0d74cc3-639b-ca15-c9d5-bca5a3b23a85.htm index 166299c6..01185342 100644 --- a/src/CSScriptLib.Doc/Help/html/a0d74cc3-639b-ca15-c9d5-bca5a3b23a85.htm +++ b/src/CSScriptLib.Doc/Help/html/a0d74cc3-639b-ca15-c9d5-bca5a3b23a85.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsDynamic(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsDynamic(
 	this Assembly asm
 )

Parameters

asm
Type: System.ReflectionAssembly
The asm.

Return Value

Type: Boolean
true if the specified asm is dynamic; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Assembly. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a110f418-7506-c29a-5d06-627050d100b4.htm b/src/CSScriptLib.Doc/Help/html/a110f418-7506-c29a-5d06-627050d100b4.htm index df9c3b66..63c78769 100644 --- a/src/CSScriptLib.Doc/Help/html/a110f418-7506-c29a-5d06-627050d100b4.htm +++ b/src/CSScriptLib.Doc/Help/html/a110f418-7506-c29a-5d06-627050d100b4.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Settings AddSearchDirsFromHost()

Return Value

Type: Settings
The Settings instance
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Settings AddSearchDirsFromHost()

Return Value

Type: Settings
The Settings instance
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a11912b9-5f51-6559-7e20-8ff0229b9577.htm b/src/CSScriptLib.Doc/Help/html/a11912b9-5f51-6559-7e20-8ff0229b9577.htm index fb84eef9..f42bcd59 100644 --- a/src/CSScriptLib.Doc/Help/html/a11912b9-5f51-6559-7e20-8ff0229b9577.htm +++ b/src/CSScriptLib.Doc/Help/html/a11912b9-5f51-6559-7e20-8ff0229b9577.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static IEnumerable<T> ForEach<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static IEnumerable<T> ForEach<T>(
 	this IEnumerable<T> collection,
 	Action<T> action
 )
diff --git a/src/CSScriptLib.Doc/Help/html/a1262ae6-5146-091c-e5ea-6dd39bf7ab3d.htm b/src/CSScriptLib.Doc/Help/html/a1262ae6-5146-091c-e5ea-6dd39bf7ab3d.htm
index d4335e04..2dcb24cd 100644
--- a/src/CSScriptLib.Doc/Help/html/a1262ae6-5146-091c-e5ea-6dd39bf7ab3d.htm
+++ b/src/CSScriptLib.Doc/Help/html/a1262ae6-5146-091c-e5ea-6dd39bf7ab3d.htm
@@ -2,4 +2,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CodeDomEvaluator()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CodeDomEvaluator()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a19e4cba-01fe-22a1-c17c-7a07fc3581db.htm b/src/CSScriptLib.Doc/Help/html/a19e4cba-01fe-22a1-c17c-7a07fc3581db.htm index 893cd49a..f0ee8b9d 100644 --- a/src/CSScriptLib.Doc/Help/html/a19e4cba-01fe-22a1-c17c-7a07fc3581db.htm +++ b/src/CSScriptLib.Doc/Help/html/a19e4cba-01fe-22a1-c17c-7a07fc3581db.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class ScriptParsingResult

The ScriptParsingResult type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class ScriptParsingResult

The ScriptParsingResult type exposes the following members.

Constructors
  NameDescription
Public methodScriptParsingResult
Initializes a new instance of the ScriptParsingResult class
Top
Methods
  diff --git a/src/CSScriptLib.Doc/Help/html/a1a8f803-fe88-4876-8f5c-733778a10a87.htm b/src/CSScriptLib.Doc/Help/html/a1a8f803-fe88-4876-8f5c-733778a10a87.htm index e84f8a06..cb9f2358 100644 --- a/src/CSScriptLib.Doc/Help/html/a1a8f803-fe88-4876-8f5c-733778a10a87.htm +++ b/src/CSScriptLib.Doc/Help/html/a1a8f803-fe88-4876-8f5c-733778a10a87.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static class StringExtensions

The StringExtensions type exposes the following members.

Methods
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static class StringExtensions

The StringExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContains
Determines whether this string contains the substring defined by the pattern. diff --git a/src/CSScriptLib.Doc/Help/html/a1e5f7d1-1650-f512-c87e-b351f55d4c9a.htm b/src/CSScriptLib.Doc/Help/html/a1e5f7d1-1650-f512-c87e-b351f55d4c9a.htm index 5da939c0..b9ba6c90 100644 --- a/src/CSScriptLib.Doc/Help/html/a1e5f7d1-1650-f512-c87e-b351f55d4c9a.htm +++ b/src/CSScriptLib.Doc/Help/html/a1e5f7d1-1650-f512-c87e-b351f55d4c9a.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a2712081-4471-2357-bcc0-8827942aa439.htm b/src/CSScriptLib.Doc/Help/html/a2712081-4471-2357-bcc0-8827942aa439.htm index ba06a53b..70c7b702 100644 --- a/src/CSScriptLib.Doc/Help/html/a2712081-4471-2357-bcc0-8827942aa439.htm +++ b/src/CSScriptLib.Doc/Help/html/a2712081-4471-2357-bcc0-8827942aa439.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string file

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string file

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a38437aa-8588-17ce-e298-605617642528.htm b/src/CSScriptLib.Doc/Help/html/a38437aa-8588-17ce-e298-605617642528.htm index 26b0df3b..3cd126b9 100644 --- a/src/CSScriptLib.Doc/Help/html/a38437aa-8588-17ce-e298-605617642528.htm +++ b/src/CSScriptLib.Doc/Help/html/a38437aa-8588-17ce-e298-605617642528.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetFileNameWithoutExtension(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetFileNameWithoutExtension(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: String
File name

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a456d967-d82c-977c-c4bc-f0399b313940.htm b/src/CSScriptLib.Doc/Help/html/a456d967-d82c-977c-c4bc-f0399b313940.htm index fca61a52..f10f717a 100644 --- a/src/CSScriptLib.Doc/Help/html/a456d967-d82c-977c-c4bc-f0399b313940.htm +++ b/src/CSScriptLib.Doc/Help/html/a456d967-d82c-977c-c4bc-f0399b313940.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Args { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Args { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a5044dad-6c2c-44b7-c498-777cf1f88a29.htm b/src/CSScriptLib.Doc/Help/html/a5044dad-6c2c-44b7-c498-777cf1f88a29.htm index b6917cb2..313fb16f 100644 --- a/src/CSScriptLib.Doc/Help/html/a5044dad-6c2c-44b7-c498-777cf1f88a29.htm +++ b/src/CSScriptLib.Doc/Help/html/a5044dad-6c2c-44b7-c498-777cf1f88a29.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool CompileOnServer

Field Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool CompileOnServer

Field Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a69a8dab-acb8-e252-b26a-4d3ff8ae3f6c.htm b/src/CSScriptLib.Doc/Help/html/a69a8dab-acb8-e252-b26a-4d3ff8ae3f6c.htm index edc986cc..f4e751a2 100644 --- a/src/CSScriptLib.Doc/Help/html/a69a8dab-acb8-e252-b26a-4d3ff8ae3f6c.htm +++ b/src/CSScriptLib.Doc/Help/html/a69a8dab-acb8-e252-b26a-4d3ff8ae3f6c.htm @@ -7,4 +7,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool? DebugBuild { get; set; }

Property Value

Type: NullableBoolean
true if 'debug build'; otherwise, false.

Implements

IEvaluatorDebugBuild
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool? DebugBuild { get; set; }

Property Value

Type: NullableBoolean
true if 'debug build'; otherwise, false.

Implements

IEvaluatorDebugBuild
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a7181d9e-56dd-cac5-679d-3c8ce5a9a745.htm b/src/CSScriptLib.Doc/Help/html/a7181d9e-56dd-cac5-679d-3c8ce5a9a745.htm index 425b9460..ad263360 100644 --- a/src/CSScriptLib.Doc/Help/html/a7181d9e-56dd-cac5-679d-3c8ce5a9a745.htm +++ b/src/CSScriptLib.Doc/Help/html/a7181d9e-56dd-cac5-679d-3c8ce5a9a745.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string PathJoin(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string PathJoin(
 	this string path,
 	params Object[] parts
 )

Parameters

path
Type: SystemString
The path.
parts
Type: SystemObject
The parts.

Return Value

Type: String
A new path.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/a83356f7-6ec5-9695-377f-13a40f606bfd.htm b/src/CSScriptLib.Doc/Help/html/a83356f7-6ec5-9695-377f-13a40f606bfd.htm index c3f0dff5..169ef6d3 100644 --- a/src/CSScriptLib.Doc/Help/html/a83356f7-6ec5-9695-377f-13a40f606bfd.htm +++ b/src/CSScriptLib.Doc/Help/html/a83356f7-6ec5-9695-377f-13a40f606bfd.htm @@ -4,6 +4,6 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string[] FindGlobalAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string[] FindGlobalAssembly(
 	string namespaceStr
 )

Parameters

namespaceStr
Type: SystemString
'namespace' name

Return Value

Type: String
collection of assembly file names where namespace is implemented
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/aa06b467-db5b-91fa-cfee-eafe8a850bba.htm b/src/CSScriptLib.Doc/Help/html/aa06b467-db5b-91fa-cfee-eafe8a850bba.htm index 76fda4d4..708d4b2b 100644 --- a/src/CSScriptLib.Doc/Help/html/aa06b467-db5b-91fa-cfee-eafe8a850bba.htm +++ b/src/CSScriptLib.Doc/Help/html/aa06b467-db5b-91fa-cfee-eafe8a850bba.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ExtraSearchDirs { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ExtraSearchDirs { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/aaae684b-4148-7fa3-a239-4f54e65561a1.htm b/src/CSScriptLib.Doc/Help/html/aaae684b-4148-7fa3-a239-4f54e65561a1.htm index 3721af13..2fb1cba4 100644 --- a/src/CSScriptLib.Doc/Help/html/aaae684b-4148-7fa3-a239-4f54e65561a1.htm +++ b/src/CSScriptLib.Doc/Help/html/aaae684b-4148-7fa3-a239-4f54e65561a1.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class Globals

The Globals type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class Globals

The Globals type exposes the following members.

Constructors
  NameDescription
Public methodGlobals
Initializes a new instance of the Globals class
Top
Properties
  diff --git a/src/CSScriptLib.Doc/Help/html/aada4d22-a321-2e08-5a3a-be3b1294612f.htm b/src/CSScriptLib.Doc/Help/html/aada4d22-a321-2e08-5a3a-be3b1294612f.htm index d9edfbea..2dc43d99 100644 --- a/src/CSScriptLib.Doc/Help/html/aada4d22-a321-2e08-5a3a-be3b1294612f.htm +++ b/src/CSScriptLib.Doc/Help/html/aada4d22-a321-2e08-5a3a-be3b1294612f.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] HostOptions { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] HostOptions { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/ad221b9d-b63d-a84f-1342-d679419a4739.htm b/src/CSScriptLib.Doc/Help/html/ad221b9d-b63d-a84f-1342-d679419a4739.htm index 7d2803ab..b105cf7d 100644 --- a/src/CSScriptLib.Doc/Help/html/ad221b9d-b63d-a84f-1342-d679419a4739.htm +++ b/src/CSScriptLib.Doc/Help/html/ad221b9d-b63d-a84f-1342-d679419a4739.htm @@ -9,7 +9,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ResolvePackages(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ResolvePackages(
 	bool suppressDownloading = false
 )

Parameters

suppressDownloading (Optional)
Type: SystemBoolean
if set to true suppresses downloading the NuGet package. Suppressing can be diff --git a/src/CSScriptLib.Doc/Help/html/ad579f7b-d27f-ffd2-d80f-da9d6b53fd66.htm b/src/CSScriptLib.Doc/Help/html/ad579f7b-d27f-ffd2-d80f-da9d6b53fd66.htm index 8913f346..b78a9c1a 100644 --- a/src/CSScriptLib.Doc/Help/html/ad579f7b-d27f-ffd2-d80f-da9d6b53fd66.htm +++ b/src/CSScriptLib.Doc/Help/html/ad579f7b-d27f-ffd2-d80f-da9d6b53fd66.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSharpParser(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSharpParser(
 	string code
 )

Parameters

code
Type: SystemString
C# code string
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/ad5d369f-a449-90d9-6159-a9d431c80dfb.htm b/src/CSScriptLib.Doc/Help/html/ad5d369f-a449-90d9-6159-a9d431c80dfb.htm index 956ad085..a0c276fc 100644 --- a/src/CSScriptLib.Doc/Help/html/ad5d369f-a449-90d9-6159-a9d431c80dfb.htm +++ b/src/CSScriptLib.Doc/Help/html/ad5d369f-a449-90d9-6159-a9d431c80dfb.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
Assembly[] GetReferencedAssemblies()

Return Value

Type: Assembly
The method result.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/adfde94b-6653-34df-8a21-4c0644aaefa4.htm b/src/CSScriptLib.Doc/Help/html/adfde94b-6653-34df-8a21-4c0644aaefa4.htm index e796572e..c3447c0c 100644 --- a/src/CSScriptLib.Doc/Help/html/adfde94b-6653-34df-8a21-4c0644aaefa4.htm +++ b/src/CSScriptLib.Doc/Help/html/adfde94b-6653-34df-8a21-4c0644aaefa4.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] SearchDirs

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] SearchDirs

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/ae11eeaa-fbe4-8caf-76c0-a01f5459eea3.htm b/src/CSScriptLib.Doc/Help/html/ae11eeaa-fbe4-8caf-76c0-a01f5459eea3.htm index 6ff7873a..60df6420 100644 --- a/src/CSScriptLib.Doc/Help/html/ae11eeaa-fbe4-8caf-76c0-a01f5459eea3.htm +++ b/src/CSScriptLib.Doc/Help/html/ae11eeaa-fbe4-8caf-76c0-a01f5459eea3.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
protected virtual string EngineName { get; }

Property Value

Type: String
The name of the engine.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
protected virtual string EngineName { get; }

Property Value

Type: String
The name of the engine.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/aed98efc-048e-81bd-0174-d6d33d976047.htm b/src/CSScriptLib.Doc/Help/html/aed98efc-048e-81bd-0174-d6d33d976047.htm index 1a23ad15..15631333 100644 --- a/src/CSScriptLib.Doc/Help/html/aed98efc-048e-81bd-0174-d6d33d976047.htm +++ b/src/CSScriptLib.Doc/Help/html/aed98efc-048e-81bd-0174-d6d33d976047.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class CompileInfo

The CompileInfo type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class CompileInfo

The CompileInfo type exposes the following members.

Constructors
  NameDescription
Public methodCompileInfo
Initializes a new instance of the CompileInfo class
Top
Properties
  diff --git a/src/CSScriptLib.Doc/Help/html/af9425f0-848a-1d57-6200-fe5f7ab21d5a.htm b/src/CSScriptLib.Doc/Help/html/af9425f0-848a-1d57-6200-fe5f7ab21d5a.htm index 2a92717b..4362ab20 100644 --- a/src/CSScriptLib.Doc/Help/html/af9425f0-848a-1d57-6200-fe5f7ab21d5a.htm +++ b/src/CSScriptLib.Doc/Help/html/af9425f0-848a-1d57-6200-fe5f7ab21d5a.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public virtual IEvaluator ReferenceAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public virtual IEvaluator ReferenceAssembly(
 	Assembly assembly
 )

Parameters

assembly
Type: System.ReflectionAssembly
The assembly instance.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/b00547e5-1289-f7d4-4abe-efa0f0411f98.htm b/src/CSScriptLib.Doc/Help/html/b00547e5-1289-f7d4-4abe-efa0f0411f98.htm index a9c5a0e2..b11f7d37 100644 --- a/src/CSScriptLib.Doc/Help/html/b00547e5-1289-f7d4-4abe-efa0f0411f98.htm +++ b/src/CSScriptLib.Doc/Help/html/b00547e5-1289-f7d4-4abe-efa0f0411f98.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public void DeleteImportedFiles()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public void DeleteImportedFiles()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b1bd09ce-8632-7ecc-be9e-00f05e6d4f2c.htm b/src/CSScriptLib.Doc/Help/html/b1bd09ce-8632-7ecc-be9e-00f05e6d4f2c.htm index 2ff4314c..a6497d64 100644 --- a/src/CSScriptLib.Doc/Help/html/b1bd09ce-8632-7ecc-be9e-00f05e6d4f2c.htm +++ b/src/CSScriptLib.Doc/Help/html/b1bd09ce-8632-7ecc-be9e-00f05e6d4f2c.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool SamePathAs(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool SamePathAs(
 	this string path1,
 	string path2
 )

Parameters

path1
Type: SystemString
The path1.
path2
Type: SystemString
The path2.

Return Value

Type: Boolean
The result of the test.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b28e37f3-1366-dd92-ac66-5c77512168d7.htm b/src/CSScriptLib.Doc/Help/html/b28e37f3-1366-dd92-ac66-5c77512168d7.htm index 89dc0117..7df5b6fc 100644 --- a/src/CSScriptLib.Doc/Help/html/b28e37f3-1366-dd92-ac66-5c77512168d7.htm +++ b/src/CSScriptLib.Doc/Help/html/b28e37f3-1366-dd92-ac66-5c77512168d7.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public enum DomainAssemblies
Members
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public enum DomainAssemblies
Members
  Member nameValueDescription
None0 No assemblies diff --git a/src/CSScriptLib.Doc/Help/html/b2969bc6-4101-fa7b-1d25-37e9a948f4c2.htm b/src/CSScriptLib.Doc/Help/html/b2969bc6-4101-fa7b-1d25-37e9a948f4c2.htm index 8c1245a9..41235035 100644 --- a/src/CSScriptLib.Doc/Help/html/b2969bc6-4101-fa7b-1d25-37e9a948f4c2.htm +++ b/src/CSScriptLib.Doc/Help/html/b2969bc6-4101-fa7b-1d25-37e9a948f4c2.htm @@ -1,4 +1,4 @@ -EvaluatorBase(T).CompileMethod Method

EvaluatorBaseTCompileMethod Method

+EvaluatorBase(T).CompileMethod Method

EvaluatorBaseTCompileMethod Method

Wraps C# code fragment into auto-generated class (type name DynamicClass) and evaluates it.

This method is a logical equivalent of CompileCode(String, CompileInfo) but is allows you to define @@ -6,7 +6,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public Assembly CompileMethod(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Assembly CompileMethod(
 	string code
 )

Parameters

code
Type: SystemString
The C# code.

Return Value

Type: Assembly
The compiled assembly.

Implements

IEvaluatorCompileMethod(String)
Examples
dynamic script = CSScript.RoslynEvaluator
                          .CompileMethod(@"int Sum(int a, int b)
diff --git a/src/CSScriptLib.Doc/Help/html/b3f6d9a3-5fdb-ed6a-42ff-c25937e442c9.htm b/src/CSScriptLib.Doc/Help/html/b3f6d9a3-5fdb-ed6a-42ff-c25937e442c9.htm
index 7b4a8a8b..c627ae2a 100644
--- a/src/CSScriptLib.Doc/Help/html/b3f6d9a3-5fdb-ed6a-42ff-c25937e442c9.htm
+++ b/src/CSScriptLib.Doc/Help/html/b3f6d9a3-5fdb-ed6a-42ff-c25937e442c9.htm
@@ -5,7 +5,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public T LoadCode<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public T LoadCode<T>(
 	string scriptText,
 	params Object[] args
 )
diff --git a/src/CSScriptLib.Doc/Help/html/b438235c-6d7f-e029-a2dc-6de179eb02f1.htm b/src/CSScriptLib.Doc/Help/html/b438235c-6d7f-e029-a2dc-6de179eb02f1.htm
index 8ac74172..5c6a8078 100644
--- a/src/CSScriptLib.Doc/Help/html/b438235c-6d7f-e029-a2dc-6de179eb02f1.htm
+++ b/src/CSScriptLib.Doc/Help/html/b438235c-6d7f-e029-a2dc-6de179eb02f1.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] CompilerOptions

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] CompilerOptions

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b48c34e1-fcba-e84d-a45f-91dded0b5d4a.htm b/src/CSScriptLib.Doc/Help/html/b48c34e1-fcba-e84d-a45f-91dded0b5d4a.htm index b139dcb0..28839d0b 100644 --- a/src/CSScriptLib.Doc/Help/html/b48c34e1-fcba-e84d-a45f-91dded0b5d4a.htm +++ b/src/CSScriptLib.Doc/Help/html/b48c34e1-fcba-e84d-a45f-91dded0b5d4a.htm @@ -11,6 +11,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string ProcessImportedScript(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string ProcessImportedScript(
 	string scriptFile
 )

Parameters

scriptFile
Type: SystemString
The script file.

Return Value

Type: String
Path to the script file to be compiled and executed
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b49548e6-af52-4a1e-1213-568e30741213.htm b/src/CSScriptLib.Doc/Help/html/b49548e6-af52-4a1e-1213-568e30741213.htm index 8a73799b..a0051967 100644 --- a/src/CSScriptLib.Doc/Help/html/b49548e6-af52-4a1e-1213-568e30741213.htm +++ b/src/CSScriptLib.Doc/Help/html/b49548e6-af52-4a1e-1213-568e30741213.htm @@ -5,4 +5,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ReferencedAssemblies { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ReferencedAssemblies { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b4cf441b-c462-e77e-d088-4f08abfbd08d.htm b/src/CSScriptLib.Doc/Help/html/b4cf441b-c462-e77e-d088-4f08abfbd08d.htm index 46311dcd..6b7cf52a 100644 --- a/src/CSScriptLib.Doc/Help/html/b4cf441b-c462-e77e-d088-4f08abfbd08d.htm +++ b/src/CSScriptLib.Doc/Help/html/b4cf441b-c462-e77e-d088-4f08abfbd08d.htm @@ -2,4 +2,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public TempFileCollection()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public TempFileCollection()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b5c3d6fc-b602-6a2e-53ad-395d817f77fd.htm b/src/CSScriptLib.Doc/Help/html/b5c3d6fc-b602-6a2e-53ad-395d817f77fd.htm index 1e9e651a..94f7c5dd 100644 --- a/src/CSScriptLib.Doc/Help/html/b5c3d6fc-b602-6a2e-53ad-395d817f77fd.htm +++ b/src/CSScriptLib.Doc/Help/html/b5c3d6fc-b602-6a2e-53ad-395d817f77fd.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] Precompilers { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] Precompilers { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b6a05fcd-435c-6b8c-1bb9-9f3791bfa251.htm b/src/CSScriptLib.Doc/Help/html/b6a05fcd-435c-6b8c-1bb9-9f3791bfa251.htm index 03c154c5..7ec9407e 100644 --- a/src/CSScriptLib.Doc/Help/html/b6a05fcd-435c-6b8c-1bb9-9f3791bfa251.htm +++ b/src/CSScriptLib.Doc/Help/html/b6a05fcd-435c-6b8c-1bb9-9f3791bfa251.htm @@ -1,4 +1,4 @@ -EvaluatorBase(T).ReferenceAssembliesFromCode Method

EvaluatorBaseTReferenceAssembliesFromCode Method

+EvaluatorBase(T).ReferenceAssembliesFromCode Method

EvaluatorBaseTReferenceAssembliesFromCode Method

References the assemblies from the script code.

The method analyses and tries to resolve CS-Script directives (e.g. '//css_ref') and @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public IEvaluator ReferenceAssembliesFromCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public IEvaluator ReferenceAssembliesFromCode(
 	string code,
 	params string[] searchDirs
 )

Parameters

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

Return Value

Type: IEvaluator
diff --git a/src/CSScriptLib.Doc/Help/html/b6eecca6-2a1f-ea29-166e-1983d4bee747.htm b/src/CSScriptLib.Doc/Help/html/b6eecca6-2a1f-ea29-166e-1983d4bee747.htm index d775d9aa..3993b737 100644 --- a/src/CSScriptLib.Doc/Help/html/b6eecca6-2a1f-ea29-166e-1983d4bee747.htm +++ b/src/CSScriptLib.Doc/Help/html/b6eecca6-2a1f-ea29-166e-1983d4bee747.htm @@ -6,5 +6,5 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
[ObsoleteAttribute("This property is no longer in use. It was serving CS-Script Native API, which is no longer supported due to the breaking changes of .NET 5/Core. Use `CSScript.Evaluator.With(eval => eval.IsCachingEnabled = false)...` instead.")]
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
[ObsoleteAttribute("This property is no longer in use. It was serving CS-Script Native API, which is no longer supported due to the breaking changes of .NET 5/Core. Use `CSScript.Evaluator.With(eval => eval.IsCachingEnabled = false)...` instead.")]
 public static bool CacheEnabled { get; set; }

Property Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b6fe003b-4d24-8ba0-919b-ae793b1852cf.htm b/src/CSScriptLib.Doc/Help/html/b6fe003b-4d24-8ba0-919b-ae793b1852cf.htm index 7e1db0fa..4de734f4 100644 --- a/src/CSScriptLib.Doc/Help/html/b6fe003b-4d24-8ba0-919b-ae793b1852cf.htm +++ b/src/CSScriptLib.Doc/Help/html/b6fe003b-4d24-8ba0-919b-ae793b1852cf.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool OpenEndDirectiveSyntax

Field Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool OpenEndDirectiveSyntax

Field Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b8635892-bac6-907a-6d71-efc2a5188fea.htm b/src/CSScriptLib.Doc/Help/html/b8635892-bac6-907a-6d71-efc2a5188fea.htm index 04a9ccb9..63c2e730 100644 --- a/src/CSScriptLib.Doc/Help/html/b8635892-bac6-907a-6d71-efc2a5188fea.htm +++ b/src/CSScriptLib.Doc/Help/html/b8635892-bac6-907a-6d71-efc2a5188fea.htm @@ -4,4 +4,4 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string csc { get; set; }

Property Value

Type: String
The CSC.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string csc { get; set; }

Property Value

Type: String
The CSC.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/b9250e97-e7b7-456b-8300-82e9bdbdcda2.htm b/src/CSScriptLib.Doc/Help/html/b9250e97-e7b7-456b-8300-82e9bdbdcda2.htm index 11534ab8..32513802 100644 --- a/src/CSScriptLib.Doc/Help/html/b9250e97-e7b7-456b-8300-82e9bdbdcda2.htm +++ b/src/CSScriptLib.Doc/Help/html/b9250e97-e7b7-456b-8300-82e9bdbdcda2.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class Project

The Project type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class Project

The Project type exposes the following members.

Constructors
  NameDescription
Public methodProject
Initializes a new instance of the Project class
Top
Methods
  diff --git a/src/CSScriptLib.Doc/Help/html/b9762da7-cbce-bc9f-b786-1145e498542c.htm b/src/CSScriptLib.Doc/Help/html/b9762da7-cbce-bc9f-b786-1145e498542c.htm index 1c40ae1d..fb0a9e87 100644 --- a/src/CSScriptLib.Doc/Help/html/b9762da7-cbce-bc9f-b786-1145e498542c.htm +++ b/src/CSScriptLib.Doc/Help/html/b9762da7-cbce-bc9f-b786-1145e498542c.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSharpParser(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSharpParser(
 	string script,
 	bool isFile,
 	string[] directivesToSearch,
diff --git a/src/CSScriptLib.Doc/Help/html/bc7f4b1b-984b-75ba-5458-118f238100ef.htm b/src/CSScriptLib.Doc/Help/html/bc7f4b1b-984b-75ba-5458-118f238100ef.htm
index a8b0674d..b5bb7c88 100644
--- a/src/CSScriptLib.Doc/Help/html/bc7f4b1b-984b-75ba-5458-118f238100ef.htm
+++ b/src/CSScriptLib.Doc/Help/html/bc7f4b1b-984b-75ba-5458-118f238100ef.htm
@@ -4,7 +4,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ScriptParser(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ScriptParser(
 	string fileName,
 	string[] searchDirs
 )

Parameters

fileName
Type: SystemString
Script file name
searchDirs
Type: SystemString
Extra ScriptLibrary directory
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/bd30072c-6288-c430-d167-fa644baaf0a1.htm b/src/CSScriptLib.Doc/Help/html/bd30072c-6288-c430-d167-fa644baaf0a1.htm index 3c41c9dd..7f69f044 100644 --- a/src/CSScriptLib.Doc/Help/html/bd30072c-6288-c430-d167-fa644baaf0a1.htm +++ b/src/CSScriptLib.Doc/Help/html/bd30072c-6288-c430-d167-fa644baaf0a1.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ImportedFiles { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ImportedFiles { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/bd7ee734-896b-4281-ce08-71d867253ae4.htm b/src/CSScriptLib.Doc/Help/html/bd7ee734-896b-4281-ce08-71d867253ae4.htm index c14c69f0..ec89e75b 100644 --- a/src/CSScriptLib.Doc/Help/html/bd7ee734-896b-4281-ce08-71d867253ae4.htm +++ b/src/CSScriptLib.Doc/Help/html/bd7ee734-896b-4281-ce08-71d867253ae4.htm @@ -11,4 +11,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void LoadCompilers()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void LoadCompilers()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/be410dea-97af-634e-c798-e60292f792ff.htm b/src/CSScriptLib.Doc/Help/html/be410dea-97af-634e-c798-e60292f792ff.htm index b98bf5ac..8142a760 100644 --- a/src/CSScriptLib.Doc/Help/html/be410dea-97af-634e-c798-e60292f792ff.htm +++ b/src/CSScriptLib.Doc/Help/html/be410dea-97af-634e-c798-e60292f792ff.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsOneOf(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsOneOf(
 	this string text,
 	params string[] patterns
 )

Parameters

text
Type: SystemString
The text.
patterns
Type: SystemString
The patterns

Return Value

Type: Boolean
The method result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c231568f-8a72-1f96-61c0-c46cd2e8be7d.htm b/src/CSScriptLib.Doc/Help/html/c231568f-8a72-1f96-61c0-c46cd2e8be7d.htm index 0925a55c..c11b02e3 100644 --- a/src/CSScriptLib.Doc/Help/html/c231568f-8a72-1f96-61c0-c46cd2e8be7d.htm +++ b/src/CSScriptLib.Doc/Help/html/c231568f-8a72-1f96-61c0-c46cd2e8be7d.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ReferencedResources

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ReferencedResources

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c2dcbd48-e643-a8be-7fb8-559f8f472d09.htm b/src/CSScriptLib.Doc/Help/html/c2dcbd48-e643-a8be-7fb8-559f8f472d09.htm index cf60652c..841e9e23 100644 --- a/src/CSScriptLib.Doc/Help/html/c2dcbd48-e643-a8be-7fb8-559f8f472d09.htm +++ b/src/CSScriptLib.Doc/Help/html/c2dcbd48-e643-a8be-7fb8-559f8f472d09.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string AssemblyFile { get; set; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string AssemblyFile { get; set; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c35e3f4e-0366-600f-ef35-4ab9bbf5cd96.htm b/src/CSScriptLib.Doc/Help/html/c35e3f4e-0366-600f-ef35-4ab9bbf5cd96.htm index 8545438d..83fd44f9 100644 --- a/src/CSScriptLib.Doc/Help/html/c35e3f4e-0366-600f-ef35-4ab9bbf5cd96.htm +++ b/src/CSScriptLib.Doc/Help/html/c35e3f4e-0366-600f-ef35-4ab9bbf5cd96.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public int NativeCompilerReturnValue { get; set; }

Property Value

Type: Int32
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public int NativeCompilerReturnValue { get; set; }

Property Value

Type: Int32
The native compiler return value.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c3a24961-393f-bf28-b420-2f972e47918d.htm b/src/CSScriptLib.Doc/Help/html/c3a24961-393f-bf28-b420-2f972e47918d.htm index 603670a9..abff2bbc 100644 --- a/src/CSScriptLib.Doc/Help/html/c3a24961-393f-bf28-b420-2f972e47918d.htm +++ b/src/CSScriptLib.Doc/Help/html/c3a24961-393f-bf28-b420-2f972e47918d.htm @@ -5,6 +5,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string Location(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string Location(
 	this Assembly asm
 )

Parameters

asm
Type: System.ReflectionAssembly
The asm.

Return Value

Type: String
The path to the assembly file

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Assembly. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c40a8171-847e-029e-bfb6-e7a677f1a87a.htm b/src/CSScriptLib.Doc/Help/html/c40a8171-847e-029e-bfb6-e7a677f1a87a.htm index c676d483..1700a184 100644 --- a/src/CSScriptLib.Doc/Help/html/c40a8171-847e-029e-bfb6-e7a677f1a87a.htm +++ b/src/CSScriptLib.Doc/Help/html/c40a8171-847e-029e-bfb6-e7a677f1a87a.htm @@ -2,4 +2,4 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Globals()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Globals()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c52502a6-2d88-44e7-3b05-46d64cdf7348.htm b/src/CSScriptLib.Doc/Help/html/c52502a6-2d88-44e7-3b05-46d64cdf7348.htm index 2d9ca015..9c251dc3 100644 --- a/src/CSScriptLib.Doc/Help/html/c52502a6-2d88-44e7-3b05-46d64cdf7348.htm +++ b/src/CSScriptLib.Doc/Help/html/c52502a6-2d88-44e7-3b05-46d64cdf7348.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string ChangeFileName(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string ChangeFileName(
 	this string path,
 	string fileName
 )

Parameters

path
Type: SystemString
The path.
fileName
Type: SystemString
Name of the file.

Return Value

Type: String
A new path.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c5b25d26-54ac-41c7-d994-a5970d91b423.htm b/src/CSScriptLib.Doc/Help/html/c5b25d26-54ac-41c7-d994-a5970d91b423.htm index 37498049..dd163f4a 100644 --- a/src/CSScriptLib.Doc/Help/html/c5b25d26-54ac-41c7-d994-a5970d91b423.htm +++ b/src/CSScriptLib.Doc/Help/html/c5b25d26-54ac-41c7-d994-a5970d91b423.htm @@ -7,4 +7,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string CompilerOptions { get; set; }

Property Value

Type: String
The compiler options.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string CompilerOptions { get; set; }

Property Value

Type: String
The compiler options.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c6890f47-e645-1b87-1a7c-dbcbf9fba2d3.htm b/src/CSScriptLib.Doc/Help/html/c6890f47-e645-1b87-1a7c-dbcbf9fba2d3.htm index b62a45eb..4ea7bd9b 100644 --- a/src/CSScriptLib.Doc/Help/html/c6890f47-e645-1b87-1a7c-dbcbf9fba2d3.htm +++ b/src/CSScriptLib.Doc/Help/html/c6890f47-e645-1b87-1a7c-dbcbf9fba2d3.htm @@ -5,6 +5,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string DefaultConfigFile { get; }

Property Value

Type: String
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string DefaultConfigFile { get; }

Property Value

Type: String
The default configuration file location. Returns null if the file is not found.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c6975a61-b40b-c0f7-e507-0facad05731d.htm b/src/CSScriptLib.Doc/Help/html/c6975a61-b40b-c0f7-e507-0facad05731d.htm index b7d387e0..84e65188 100644 --- a/src/CSScriptLib.Doc/Help/html/c6975a61-b40b-c0f7-e507-0facad05731d.htm +++ b/src/CSScriptLib.Doc/Help/html/c6975a61-b40b-c0f7-e507-0facad05731d.htm @@ -4,5 +4,5 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool IsWarning { get; set; }

Property Value

Type: Boolean
true if this instance is warning; otherwise, false. +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool IsWarning { get; set; }

Property Value

Type: Boolean
true if this instance is warning; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/c7b7c3e6-f83c-8bd0-3f0a-039089ddc51c.htm b/src/CSScriptLib.Doc/Help/html/c7b7c3e6-f83c-8bd0-3f0a-039089ddc51c.htm index 2c62b9f0..fc330620 100644 --- a/src/CSScriptLib.Doc/Help/html/c7b7c3e6-f83c-8bd0-3f0a-039089ddc51c.htm +++ b/src/CSScriptLib.Doc/Help/html/c7b7c3e6-f83c-8bd0-3f0a-039089ddc51c.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class InitInfo

The CSharpParserInitInfo type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class InitInfo

The CSharpParserInitInfo type exposes the following members.

Constructors
  NameDescription
Public methodCSharpParserInitInfo
Initializes a new instance of the CSharpParserInitInfo class. diff --git a/src/CSScriptLib.Doc/Help/html/c9938dbd-8050-ae76-586d-4b3c2b5051d4.htm b/src/CSScriptLib.Doc/Help/html/c9938dbd-8050-ae76-586d-4b3c2b5051d4.htm index 1a0d7d7d..e3e06c44 100644 --- a/src/CSScriptLib.Doc/Help/html/c9938dbd-8050-ae76-586d-4b3c2b5051d4.htm +++ b/src/CSScriptLib.Doc/Help/html/c9938dbd-8050-ae76-586d-4b3c2b5051d4.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator ReferenceAssemblyOf(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator ReferenceAssemblyOf(
 	Object obj
 )

Parameters

obj
Type: SystemObject
The object, which belongs to the assembly to be referenced.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/cb57fe83-6bde-7c8d-f449-864d889f7637.htm b/src/CSScriptLib.Doc/Help/html/cb57fe83-6bde-7c8d-f449-864d889f7637.htm index dee92a45..2c141ef6 100644 --- a/src/CSScriptLib.Doc/Help/html/cb57fe83-6bde-7c8d-f449-864d889f7637.htm +++ b/src/CSScriptLib.Doc/Help/html/cb57fe83-6bde-7c8d-f449-864d889f7637.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public IEvaluator ReferenceAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public IEvaluator ReferenceAssembly(
 	string assembly
 )

Parameters

assembly
Type: SystemString
The path to the assembly file.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/cd756a37-fd28-bd12-2abf-a88262d30d40.htm b/src/CSScriptLib.Doc/Help/html/cd756a37-fd28-bd12-2abf-a88262d30d40.htm index 6f7250b7..81c122ea 100644 --- a/src/CSScriptLib.Doc/Help/html/cd756a37-fd28-bd12-2abf-a88262d30d40.htm +++ b/src/CSScriptLib.Doc/Help/html/cd756a37-fd28-bd12-2abf-a88262d30d40.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSharpParser(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSharpParser(
 	string script,
 	bool isFile
 )

Parameters

script
Type: SystemString
C# script (code or file).
isFile
Type: SystemBoolean
If set to 'true' the script is a file, otherwise it is a C# code.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/cd86dba5-f1e1-a717-29b4-45f766ce9de2.htm b/src/CSScriptLib.Doc/Help/html/cd86dba5-f1e1-a717-29b4-45f766ce9de2.htm index ee9cba45..25021904 100644 --- a/src/CSScriptLib.Doc/Help/html/cd86dba5-f1e1-a717-29b4-45f766ce9de2.htm +++ b/src/CSScriptLib.Doc/Help/html/cd86dba5-f1e1-a717-29b4-45f766ce9de2.htm @@ -2,7 +2,7 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class CompilerResults

The CompilerResults type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class CompilerResults

The CompilerResults type exposes the following members.

Constructors
  NameDescription
Public methodCompilerResults
Initializes a new instance of the CompilerResults class
Top
Properties
  diff --git a/src/CSScriptLib.Doc/Help/html/cd9f4b3a-339a-2457-9ad0-65f0b8f155c8.htm b/src/CSScriptLib.Doc/Help/html/cd9f4b3a-339a-2457-9ad0-65f0b8f155c8.htm index 53045694..6c67ad26 100644 --- a/src/CSScriptLib.Doc/Help/html/cd9f4b3a-339a-2457-9ad0-65f0b8f155c8.htm +++ b/src/CSScriptLib.Doc/Help/html/cd9f4b3a-339a-2457-9ad0-65f0b8f155c8.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public List<string> ProbingDirs { get; set; }

Property Value

Type: ListString
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public List<string> ProbingDirs { get; set; }

Property Value

Type: ListString
The probing directories.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/cddfad44-0fdf-1420-7171-8d426da004f9.htm b/src/CSScriptLib.Doc/Help/html/cddfad44-0fdf-1420-7171-8d426da004f9.htm index f58a7f14..09d0268f 100644 --- a/src/CSScriptLib.Doc/Help/html/cddfad44-0fdf-1420-7171-8d426da004f9.htm +++ b/src/CSScriptLib.Doc/Help/html/cddfad44-0fdf-1420-7171-8d426da004f9.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string RemoveAssemblyExtension(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string RemoveAssemblyExtension(
 	this string asmName
 )

Parameters

asmName
Type: SystemString
Name of the asm.

Return Value

Type: String
Result of the string manipulation

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/ceb4eab2-3fb7-b506-eb71-c942971c8641.htm b/src/CSScriptLib.Doc/Help/html/ceb4eab2-3fb7-b506-eb71-c942971c8641.htm index 6e161450..e160f0b3 100644 --- a/src/CSScriptLib.Doc/Help/html/ceb4eab2-3fb7-b506-eb71-c942971c8641.htm +++ b/src/CSScriptLib.Doc/Help/html/ceb4eab2-3fb7-b506-eb71-c942971c8641.htm @@ -7,4 +7,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
bool? DebugBuild { get; set; }

Property Value

Type: NullableBoolean
true if 'debug build'; otherwise, false.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
bool? DebugBuild { get; set; }

Property Value

Type: NullableBoolean
true if 'debug build'; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d033e117-7b51-76c3-6838-9e0adf63a9a7.htm b/src/CSScriptLib.Doc/Help/html/d033e117-7b51-76c3-6838-9e0adf63a9a7.htm index bee64fa1..f81a4995 100644 --- a/src/CSScriptLib.Doc/Help/html/d033e117-7b51-76c3-6838-9e0adf63a9a7.htm +++ b/src/CSScriptLib.Doc/Help/html/d033e117-7b51-76c3-6838-9e0adf63a9a7.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] SearchDirs

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] SearchDirs

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d096b785-4355-62d3-1b79-d45d9ea943a6.htm b/src/CSScriptLib.Doc/Help/html/d096b785-4355-62d3-1b79-d45d9ea943a6.htm index 1bcd6b5f..e0dde101 100644 --- a/src/CSScriptLib.Doc/Help/html/d096b785-4355-62d3-1b79-d45d9ea943a6.htm +++ b/src/CSScriptLib.Doc/Help/html/d096b785-4355-62d3-1b79-d45d9ea943a6.htm @@ -6,4 +6,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string PdbFile { get; set; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string PdbFile { get; set; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d1021c54-75f4-209d-7d53-2d4c1ed2abd5.htm b/src/CSScriptLib.Doc/Help/html/d1021c54-75f4-209d-7d53-2d4c1ed2abd5.htm index e4af68e1..46bba5b3 100644 --- a/src/CSScriptLib.Doc/Help/html/d1021c54-75f4-209d-7d53-2d4c1ed2abd5.htm +++ b/src/CSScriptLib.Doc/Help/html/d1021c54-75f4-209d-7d53-2d4c1ed2abd5.htm @@ -12,4 +12,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string RootClass { get; set; }

Property Value

Type: String
The root class name.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string RootClass { get; set; }

Property Value

Type: String
The root class name.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d102f883-37bb-3977-9012-0f21657bdf28.htm b/src/CSScriptLib.Doc/Help/html/d102f883-37bb-3977-9012-0f21657bdf28.htm index bf8f354b..1a6551a8 100644 --- a/src/CSScriptLib.Doc/Help/html/d102f883-37bb-3977-9012-0f21657bdf28.htm +++ b/src/CSScriptLib.Doc/Help/html/d102f883-37bb-3977-9012-0f21657bdf28.htm @@ -7,6 +7,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public delegate Object MethodDelegate(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public delegate Object MethodDelegate(
 	params Object[] paramters
 )

Parameters

paramters
Type: SystemObject
Optional method parameters.

Return Value

Type: Object
Returns MethodInfo return value
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d49770f2-b1c0-3cd2-7d95-7db0895918d0.htm b/src/CSScriptLib.Doc/Help/html/d49770f2-b1c0-3cd2-7d95-7db0895918d0.htm index 44e7155b..33219235 100644 --- a/src/CSScriptLib.Doc/Help/html/d49770f2-b1c0-3cd2-7d95-7db0895918d0.htm +++ b/src/CSScriptLib.Doc/Help/html/d49770f2-b1c0-3cd2-7d95-7db0895918d0.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool abortOnError

Field Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool abortOnError

Field Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d6b0dba1-3686-d6c9-603d-a8069d4da7f8.htm b/src/CSScriptLib.Doc/Help/html/d6b0dba1-3686-d6c9-603d-a8069d4da7f8.htm index 070af680..6c64458b 100644 --- a/src/CSScriptLib.Doc/Help/html/d6b0dba1-3686-d6c9-603d-a8069d4da7f8.htm +++ b/src/CSScriptLib.Doc/Help/html/d6b0dba1-3686-d6c9-603d-a8069d4da7f8.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] CompilerOptions { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] CompilerOptions { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d726f61c-e602-cff7-3f56-35875f42e3a4.htm b/src/CSScriptLib.Doc/Help/html/d726f61c-e602-cff7-3f56-35875f42e3a4.htm index 6a486090..ac893f69 100644 --- a/src/CSScriptLib.Doc/Help/html/d726f61c-e602-cff7-3f56-35875f42e3a4.htm +++ b/src/CSScriptLib.Doc/Help/html/d726f61c-e602-cff7-3f56-35875f42e3a4.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetName(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetName(
 	this Type type
 )

Parameters

type
Type: SystemType
The type.

Return Value

Type: String
Thew name of the type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/d781a151-36c2-0b0d-e72c-9ed09cd9ef26.htm b/src/CSScriptLib.Doc/Help/html/d781a151-36c2-0b0d-e72c-9ed09cd9ef26.htm index 7a018c8b..d780b3b8 100644 --- a/src/CSScriptLib.Doc/Help/html/d781a151-36c2-0b0d-e72c-9ed09cd9ef26.htm +++ b/src/CSScriptLib.Doc/Help/html/d781a151-36c2-0b0d-e72c-9ed09cd9ef26.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public enum EvaluatorAccess
Members
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public enum EvaluatorAccess
Members
  Member nameValueDescription
Singleton0 Every time the member variable is accessed the same static object is returned. diff --git a/src/CSScriptLib.Doc/Help/html/d8caa156-d835-9435-07e7-b7d1aec02752.htm b/src/CSScriptLib.Doc/Help/html/d8caa156-d835-9435-07e7-b7d1aec02752.htm index e40e3706..8d83f059 100644 --- a/src/CSScriptLib.Doc/Help/html/d8caa156-d835-9435-07e7-b7d1aec02752.htm +++ b/src/CSScriptLib.Doc/Help/html/d8caa156-d835-9435-07e7-b7d1aec02752.htm @@ -8,7 +8,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public T LoadMethod<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public T LoadMethod<T>(
 	string code
 )
 where T : class
diff --git a/src/CSScriptLib.Doc/Help/html/d924ec65-fe48-8989-ca96-4ba672b24f6c.htm b/src/CSScriptLib.Doc/Help/html/d924ec65-fe48-8989-ca96-4ba672b24f6c.htm
index c73c13ec..e723fb69 100644
--- a/src/CSScriptLib.Doc/Help/html/d924ec65-fe48-8989-ca96-4ba672b24f6c.htm
+++ b/src/CSScriptLib.Doc/Help/html/d924ec65-fe48-8989-ca96-4ba672b24f6c.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public void Clear()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public void Clear()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/dbcb78d8-5bcc-4ad3-da25-d2c7bb971980.htm b/src/CSScriptLib.Doc/Help/html/dbcb78d8-5bcc-4ad3-da25-d2c7bb971980.htm index 0e9fd51e..0a3bc6c9 100644 --- a/src/CSScriptLib.Doc/Help/html/dbcb78d8-5bcc-4ad3-da25-d2c7bb971980.htm +++ b/src/CSScriptLib.Doc/Help/html/dbcb78d8-5bcc-4ad3-da25-d2c7bb971980.htm @@ -41,9 +41,12 @@ the code with CS-Script directives (//css_ref).
(Inherited from EvaluatorBaseT.)
Public methodGetReferencedAssembliesFiles
Gets the referenced assemblies files. -
(Inherited from EvaluatorBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
+
(Inherited from EvaluatorBaseT.)
Public methodGetReferencedAssembliesFromScript
+ Analyses the script file code and returns set of locations for the assemblies referenced from + the code with CS-Script directives (//css_ref). +
(Inherited from EvaluatorBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
Evaluates and loads C# code to the current AppDomain. Returns instance of the first class defined in the code. -
(Inherited from EvaluatorBaseT.)
Public methodStatic memberLoadCompilers
+
(Inherited from EvaluatorBaseT.)
Public methodStatic memberLoadCompilers
Loads the assemblies implementing Roslyn compilers.

Roslyn compilers are extremely heavy and loading the compiler assemblies for with the @@ -52,55 +55,55 @@

You may want to call this method to pre-load the compiler assembly your script evaluation performance. -

Public methodCode exampleLoadDelegateT
+

Public methodCode exampleLoadDelegateT
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain.

Returns instance of T delegate for the first method in the auto-generated class. -

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
+

(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadFile(String, Object)
Evaluates and loads C# code from the specified file to the current AppDomain. Returns instance of the first class defined in the script file. -
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
+
(Inherited from EvaluatorBaseT.)
Public methodCode exampleLoadMethod(String)
Wraps C# code fragment into auto-generated class (type name DynamicClass), evaluates it and loads the class to the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
+
(Inherited from EvaluatorBaseT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReferenceAssembliesFromCode
References the assemblies from the script code.

The method analyses and tries to resolve CS-Script directives (e.g. '//css_ref') and 'used' namespaces based on the optional search directories. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssembly(Assembly)
References the given assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
+

(Overrides EvaluatorBaseTReferenceAssembly(Assembly).)
Public methodReferenceAssembly(String)
References the given assembly by the assembly path.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByName
References the name of the assembly by its partial name.

Note that the referenced assembly will be loaded into the host AppDomain in order to resolve assembly partial name. -

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
+

It is an equivalent of Evaluator.ReferenceAssembly(Assembly.Load(assemblyPartialName))

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyByNamespace
References the assembly by the given namespace it implements.

Adds assembly reference if the namespace was successfully resolved (found) and, otherwise does nothing -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOf(Object)
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceAssemblyOfT
References the assembly by the object, which belongs to this assembly.

It is safe to call this method multiple times for the same assembly. If the assembly already referenced it will not be referenced again. -

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
+

(Inherited from EvaluatorBaseT.)
Public methodReferenceDomainAssemblies
References the assemblies the are already loaded into the current AppDomain. -
(Inherited from EvaluatorBaseT.)
Public methodReset
+
(Inherited from EvaluatorBaseT.)
Public methodReset
Resets Evaluator.

Resetting means clearing all referenced assemblies, recreating evaluation infrastructure @@ -108,28 +111,28 @@

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

(Overrides EvaluatorBaseTReset(Boolean).)
Public methodSetRefAssemblyFilter
+

(Overrides EvaluatorBaseTReset(Boolean).)
Public methodSetRefAssemblyFilter
Sets the filter for referenced assemblies. The filter is to be applied just before the assemblies are to be referenced during the script execution.
dynamic script = CSScript.Evaluator
 .SetRefAssemblyFilter(asms =>
 asms.Where(a => !a.FullName.StartsWith("Microsoft."))
-.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
+.LoadCode(scriptCode);
(Inherited from EvaluatorBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryReferenceAssemblyByNamespace
References the assembly by the given namespace it implements. -
(Inherited from EvaluatorBaseT.)
Protected methodValidate
+
(Inherited from EvaluatorBaseT.)
Protected methodValidate
Validates the specified information. -
(Inherited from EvaluatorBaseT.)
Top
Extension Methods
Extension Methods
  - NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
+
NameDescription
Public Extension MethodExcludeReferencedAssemblies(Assembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
+.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the - complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
Top
See Also
\ No newline at end of file +.LoadCode(scriptCode); (Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/dc2cd813-d10e-5be5-3987-c98469d628af.htm b/src/CSScriptLib.Doc/Help/html/dc2cd813-d10e-5be5-3987-c98469d628af.htm index 90d8a486..cc695043 100644 --- a/src/CSScriptLib.Doc/Help/html/dc2cd813-d10e-5be5-3987-c98469d628af.htm +++ b/src/CSScriptLib.Doc/Help/html/dc2cd813-d10e-5be5-3987-c98469d628af.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public EvaluatorBase()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public EvaluatorBase()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/dcc36655-67ef-6f81-2c41-f70663a90c03.htm b/src/CSScriptLib.Doc/Help/html/dcc36655-67ef-6f81-2c41-f70663a90c03.htm index 729e949e..ccfd8c5b 100644 --- a/src/CSScriptLib.Doc/Help/html/dcc36655-67ef-6f81-2c41-f70663a90c03.htm +++ b/src/CSScriptLib.Doc/Help/html/dcc36655-67ef-6f81-2c41-f70663a90c03.htm @@ -6,7 +6,7 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string[] FindLocalAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string[] FindLocalAssembly(
 	string name,
 	string dir
 )

Parameters

name
Type: SystemString
namespace/assembly name
dir
Type: SystemString
directory

Return Value

Type: String
collection of assembly file names where namespace is implemented
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/dce45d8a-ccc7-d4aa-3fe5-23271c6d64ee.htm b/src/CSScriptLib.Doc/Help/html/dce45d8a-ccc7-d4aa-3fe5-23271c6d64ee.htm index c8edf0e3..0a9a1f46 100644 --- a/src/CSScriptLib.Doc/Help/html/dce45d8a-ccc7-d4aa-3fe5-23271c6d64ee.htm +++ b/src/CSScriptLib.Doc/Help/html/dce45d8a-ccc7-d4aa-3fe5-23271c6d64ee.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static int GetHashCodeEx(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static int GetHashCodeEx(
 	this string text
 )

Parameters

text
Type: SystemString
The text to generate the hash for.s.

Return Value

Type: Int32
The method result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/de09888d-de57-1960-ccb8-f93ba3be86bf.htm b/src/CSScriptLib.Doc/Help/html/de09888d-de57-1960-ccb8-f93ba3be86bf.htm index 4ded8157..9a354d4d 100644 --- a/src/CSScriptLib.Doc/Help/html/de09888d-de57-1960-ccb8-f93ba3be86bf.htm +++ b/src/CSScriptLib.Doc/Help/html/de09888d-de57-1960-ccb8-f93ba3be86bf.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class EvaluatorBase<T> : IEvaluator
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class EvaluatorBase<T> : IEvaluator
 where T : new(), IEvaluator
 

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:CSScriptLib.EvaluatorBase`1"]

The EvaluatorBaseT type exposes the following members.

Constructors
  @@ -89,6 +89,9 @@ the code with CS-Script directives (//css_ref).
Public methodGetReferencedAssembliesFiles
Gets the referenced assemblies files. +
Public methodGetReferencedAssembliesFromScript
+ Analyses the script file code and returns set of locations for the assemblies referenced from + the code with CS-Script directives (//css_ref).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoadCode(String, Object)
Evaluates and loads C# code to the current AppDomain. Returns instance of the first class defined in the code.
Public methodCode exampleLoadCodeT(String, Object)
@@ -181,12 +184,12 @@ Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
dynamic script = CSScript.Evaluator
+             
dynamic script = CSScript.Evaluator
 .ExcludeReferencedAssemblies(this.GetType().Assembly)
-.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
+.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Public Extension MethodExcludeReferencedAssemblies(IEnumerableAssembly)Overloaded.
Sets referenced assemblies filter for exclusion of some "undesired" assemblies. It is a convenient method for fine controlling referencing assemblies but without specifying the complete predicates with SetRefAssemblyFilter(FuncIEnumerableAssembly, IEnumerableAssembly). -
dynamic script = CSScript.Evaluator
+             
dynamic script = CSScript.Evaluator
 .ExcludeReferencedAssemblies(new[]{this.GetType().Assembly})
-.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file +.LoadCode(scriptCode);
(Defined by EvaluatorExtensions.)
Top
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/de52ac72-ebd2-bd1d-7e21-619ac7f21ce1.htm b/src/CSScriptLib.Doc/Help/html/de52ac72-ebd2-bd1d-7e21-619ac7f21ce1.htm index 25487cc8..62fd2423 100644 --- a/src/CSScriptLib.Doc/Help/html/de52ac72-ebd2-bd1d-7e21-619ac7f21ce1.htm +++ b/src/CSScriptLib.Doc/Help/html/de52ac72-ebd2-bd1d-7e21-619ac7f21ce1.htm @@ -4,7 +4,7 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static class ReflectionExtensions

The ReflectionExtensions type exposes the following members.

Methods
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static class ReflectionExtensions

The ReflectionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateObject
Creates instance of a class from underlying assembly. diff --git a/src/CSScriptLib.Doc/Help/html/dfdf27a9-1c0a-ad7c-0c81-82be9b94e1e8.htm b/src/CSScriptLib.Doc/Help/html/dfdf27a9-1c0a-ad7c-0c81-82be9b94e1e8.htm index 373f8261..d3cc2a37 100644 --- a/src/CSScriptLib.Doc/Help/html/dfdf27a9-1c0a-ad7c-0c81-82be9b94e1e8.htm +++ b/src/CSScriptLib.Doc/Help/html/dfdf27a9-1c0a-ad7c-0c81-82be9b94e1e8.htm @@ -5,4 +5,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool IsLinux { get; }

Property Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool IsLinux { get; }

Property Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/dfe22a85-c51e-1189-8dbc-7941114d2622.htm b/src/CSScriptLib.Doc/Help/html/dfe22a85-c51e-1189-8dbc-7941114d2622.htm index 569cc455..5e55e82c 100644 --- a/src/CSScriptLib.Doc/Help/html/dfe22a85-c51e-1189-8dbc-7941114d2622.htm +++ b/src/CSScriptLib.Doc/Help/html/dfe22a85-c51e-1189-8dbc-7941114d2622.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetExtension(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetExtension(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: String
File extension

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e004bf0a-6967-e602-7e69-0fc11d0dde0a.htm b/src/CSScriptLib.Doc/Help/html/e004bf0a-6967-e602-7e69-0fc11d0dde0a.htm index 255e1d45..095ef9b9 100644 --- a/src/CSScriptLib.Doc/Help/html/e004bf0a-6967-e602-7e69-0fc11d0dde0a.htm +++ b/src/CSScriptLib.Doc/Help/html/e004bf0a-6967-e602-7e69-0fc11d0dde0a.htm @@ -8,6 +8,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string EscapeDirectiveDelimiters(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string EscapeDirectiveDelimiters(
 	this string text
 )

Parameters

text
Type: SystemString
The text to be processed.

Return Value

Type: String
The escaped string.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e0d86ffe-761e-6966-20e1-a4bae887ba6b.htm b/src/CSScriptLib.Doc/Help/html/e0d86ffe-761e-6966-20e1-a4bae887ba6b.htm index 84cef8bd..7659646d 100644 --- a/src/CSScriptLib.Doc/Help/html/e0d86ffe-761e-6966-20e1-a4bae887ba6b.htm +++ b/src/CSScriptLib.Doc/Help/html/e0d86ffe-761e-6966-20e1-a4bae887ba6b.htm @@ -5,4 +5,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] SearchDirs { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] SearchDirs { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e0f33ea5-a8ae-ec13-347f-628523337c10.htm b/src/CSScriptLib.Doc/Help/html/e0f33ea5-a8ae-ec13-347f-628523337c10.htm index 07297664..f54e8bcd 100644 --- a/src/CSScriptLib.Doc/Help/html/e0f33ea5-a8ae-ec13-347f-628523337c10.htm +++ b/src/CSScriptLib.Doc/Help/html/e0f33ea5-a8ae-ec13-347f-628523337c10.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] NuGets { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] NuGets { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e1cb974a-6909-64d1-397e-41e1b6119ab1.htm b/src/CSScriptLib.Doc/Help/html/e1cb974a-6909-64d1-397e-41e1b6119ab1.htm index 1fc0508b..c0070f34 100644 --- a/src/CSScriptLib.Doc/Help/html/e1cb974a-6909-64d1-397e-41e1b6119ab1.htm +++ b/src/CSScriptLib.Doc/Help/html/e1cb974a-6909-64d1-397e-41e1b6119ab1.htm @@ -6,7 +6,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
Assembly CompileMethod(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
Assembly CompileMethod(
 	string code
 )

Parameters

code
Type: SystemString
The C# code.

Return Value

Type: Assembly
The compiled assembly.
Examples
dynamic script = CSScript.Evaluator
                          .CompileMethod(@"int Sum(int a, int b)
diff --git a/src/CSScriptLib.Doc/Help/html/e35b2c14-feb8-2a05-b4ac-5421fd0d57f0.htm b/src/CSScriptLib.Doc/Help/html/e35b2c14-feb8-2a05-b4ac-5421fd0d57f0.htm
index 2df9dbdf..d5ecf104 100644
--- a/src/CSScriptLib.Doc/Help/html/e35b2c14-feb8-2a05-b4ac-5421fd0d57f0.htm
+++ b/src/CSScriptLib.Doc/Help/html/e35b2c14-feb8-2a05-b4ac-5421fd0d57f0.htm
@@ -5,7 +5,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
Object LoadMethod(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
Object LoadMethod(
 	string code
 )

Parameters

code
Type: SystemString
The C# script text.

Return Value

Type: Object
Instance of the first class defined in the script.
Examples
The following is the simple example of the LoadMethod usage: diff --git a/src/CSScriptLib.Doc/Help/html/e4743a34-ed98-0569-4970-736c62fa876e.htm b/src/CSScriptLib.Doc/Help/html/e4743a34-ed98-0569-4970-736c62fa876e.htm index 301c26eb..efae88d0 100644 --- a/src/CSScriptLib.Doc/Help/html/e4743a34-ed98-0569-4970-736c62fa876e.htm +++ b/src/CSScriptLib.Doc/Help/html/e4743a34-ed98-0569-4970-736c62fa876e.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public override IEvaluator ReferenceAssembly(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public override IEvaluator ReferenceAssembly(
 	Assembly assembly
 )

Parameters

assembly
Type: System.ReflectionAssembly
The assembly instance.

Return Value

Type: IEvaluator
The instance of the IEvaluator to allow fluent interface. diff --git a/src/CSScriptLib.Doc/Help/html/e47a926c-2877-8e9f-594d-68eac5f6d191.htm b/src/CSScriptLib.Doc/Help/html/e47a926c-2877-8e9f-594d-68eac5f6d191.htm index a705eb62..12a87795 100644 --- a/src/CSScriptLib.Doc/Help/html/e47a926c-2877-8e9f-594d-68eac5f6d191.htm +++ b/src/CSScriptLib.Doc/Help/html/e47a926c-2877-8e9f-594d-68eac5f6d191.htm @@ -6,4 +6,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public EvaluatorEngine Engine { get; set; }

Property Value

Type: EvaluatorEngine
The default evaluator engine.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public EvaluatorEngine Engine { get; set; }

Property Value

Type: EvaluatorEngine
The default evaluator engine.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e4cfaa30-3cb5-2d01-b10d-123ad5affa3e.htm b/src/CSScriptLib.Doc/Help/html/e4cfaa30-3cb5-2d01-b10d-123ad5affa3e.htm index 46f7058d..02b745ab 100644 --- a/src/CSScriptLib.Doc/Help/html/e4cfaa30-3cb5-2d01-b10d-123ad5affa3e.htm +++ b/src/CSScriptLib.Doc/Help/html/e4cfaa30-3cb5-2d01-b10d-123ad5affa3e.htm @@ -4,6 +4,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void StartPurgingOldTempFiles(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void StartPurgingOldTempFiles(
 	bool ignoreCurrentProcessScripts
 )

Parameters

ignoreCurrentProcessScripts
Type: SystemBoolean
if set to true [ignore current process scripts].
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e4f9f210-238e-8198-fe99-f53ad4bd0652.htm b/src/CSScriptLib.Doc/Help/html/e4f9f210-238e-8198-fe99-f53ad4bd0652.htm index ad6932b3..eabd4c6c 100644 --- a/src/CSScriptLib.Doc/Help/html/e4f9f210-238e-8198-fe99-f53ad4bd0652.htm +++ b/src/CSScriptLib.Doc/Help/html/e4f9f210-238e-8198-fe99-f53ad4bd0652.htm @@ -4,4 +4,4 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static bool BuildServerIsDeployed { get; }

Property Value

Type: Boolean
true if build server is deployed; otherwise, false.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static bool BuildServerIsDeployed { get; }

Property Value

Type: Boolean
true if build server is deployed; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e5418a10-7222-3019-ccad-07b9e20cf38d.htm b/src/CSScriptLib.Doc/Help/html/e5418a10-7222-3019-ccad-07b9e20cf38d.htm index 81f34c2b..1d29f288 100644 --- a/src/CSScriptLib.Doc/Help/html/e5418a10-7222-3019-ccad-07b9e20cf38d.htm +++ b/src/CSScriptLib.Doc/Help/html/e5418a10-7222-3019-ccad-07b9e20cf38d.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static void CleanSnippets()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static void CleanSnippets()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e58eb3cb-1b0b-117f-878c-ec832f296f9f.htm b/src/CSScriptLib.Doc/Help/html/e58eb3cb-1b0b-117f-878c-ec832f296f9f.htm index c3ed4a53..d3537a6c 100644 --- a/src/CSScriptLib.Doc/Help/html/e58eb3cb-1b0b-117f-878c-ec832f296f9f.htm +++ b/src/CSScriptLib.Doc/Help/html/e58eb3cb-1b0b-117f-878c-ec832f296f9f.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Object LoadCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Object LoadCode(
 	string scriptText,
 	params Object[] args
 )

Parameters

scriptText
Type: SystemString
The C# script text.
args
Type: SystemObject
The non default constructor arguments.

Return Value

Type: Object
Instance of the class defined in the script.

Implements

IEvaluatorLoadCode(String, Object)
Examples
The following is the simple example of the LoadCode usage: diff --git a/src/CSScriptLib.Doc/Help/html/e62b52ed-0c39-4ec8-ef9b-af41ff62dafb.htm b/src/CSScriptLib.Doc/Help/html/e62b52ed-0c39-4ec8-ef9b-af41ff62dafb.htm index ec3dff60..0a413e34 100644 --- a/src/CSScriptLib.Doc/Help/html/e62b52ed-0c39-4ec8-ef9b-af41ff62dafb.htm +++ b/src/CSScriptLib.Doc/Help/html/e62b52ed-0c39-4ec8-ef9b-af41ff62dafb.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
protected bool IsDebug { get; }

Property Value

Type: Boolean
true if this instance is debug; otherwise, false.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
protected bool IsDebug { get; }

Property Value

Type: Boolean
true if this instance is debug; otherwise, false.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e7adcf0d-6858-6d1e-3d4f-e7bce82c10f4.htm b/src/CSScriptLib.Doc/Help/html/e7adcf0d-6858-6d1e-3d4f-e7bce82c10f4.htm index 098f9ceb..4232938e 100644 --- a/src/CSScriptLib.Doc/Help/html/e7adcf0d-6858-6d1e-3d4f-e7bce82c10f4.htm +++ b/src/CSScriptLib.Doc/Help/html/e7adcf0d-6858-6d1e-3d4f-e7bce82c10f4.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class TempFileCollection

The TempFileCollection type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class TempFileCollection

The TempFileCollection type exposes the following members.

Constructors
  NameDescription
Public methodTempFileCollection
Initializes a new instance of the TempFileCollection class
Top
Properties
  diff --git a/src/CSScriptLib.Doc/Help/html/e84b0e28-32b7-d255-1029-cf56ef52bb0c.htm b/src/CSScriptLib.Doc/Help/html/e84b0e28-32b7-d255-1029-cf56ef52bb0c.htm index 48d15cda..ef239d22 100644 --- a/src/CSScriptLib.Doc/Help/html/e84b0e28-32b7-d255-1029-cf56ef52bb0c.htm +++ b/src/CSScriptLib.Doc/Help/html/e84b0e28-32b7-d255-1029-cf56ef52bb0c.htm @@ -1,10 +1,10 @@ -CSharpParser.DoRenaming Method

CSharpParserDoRenaming Method

+CSharpParser.DoRenaming Method

CSharpParserDoRenaming Method

Renames namespaces according renaming instructions.

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public void DoRenaming(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public void DoRenaming(
 	string[][] renamingMap,
 	bool preserveMain
 )

Parameters

renamingMap
Type: SystemString
Renaming instructions (old_name vs. new_name).
preserveMain
Type: SystemBoolean
/// If set to 'true' "static...Main" in the imported script is not renamed.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/e8feecdf-589c-0cb4-0776-e3653335f139.htm b/src/CSScriptLib.Doc/Help/html/e8feecdf-589c-0cb4-0776-e3653335f139.htm index e0aeb6e6..cb5fffc9 100644 --- a/src/CSScriptLib.Doc/Help/html/e8feecdf-589c-0cb4-0776-e3653335f139.htm +++ b/src/CSScriptLib.Doc/Help/html/e8feecdf-589c-0cb4-0776-e3653335f139.htm @@ -7,7 +7,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
MethodDelegate CreateDelegate(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
MethodDelegate CreateDelegate(
 	string code
 )

Parameters

code
Type: SystemString
The C# code.

Return Value

Type: MethodDelegate
The instance of a 'duck typed' MethodDelegate
Examples
var log = CSScript.Evaluator
 .CreateDelegate(@"void Log(string message)
diff --git a/src/CSScriptLib.Doc/Help/html/e9934cba-0d21-941b-ae5d-deeb63294f4a.htm b/src/CSScriptLib.Doc/Help/html/e9934cba-0d21-941b-ae5d-deeb63294f4a.htm
index a4c8407c..786c486c 100644
--- a/src/CSScriptLib.Doc/Help/html/e9934cba-0d21-941b-ae5d-deeb63294f4a.htm
+++ b/src/CSScriptLib.Doc/Help/html/e9934cba-0d21-941b-ae5d-deeb63294f4a.htm
@@ -4,4 +4,4 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ScriptOptions CompilerSettings { get; set; }

Property Value

Type: ScriptOptions
The compiler settings.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ScriptOptions CompilerSettings { get; set; }

Property Value

Type: ScriptOptions
The compiler settings.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/ea230527-cb73-5f65-3758-3cefe73be216.htm b/src/CSScriptLib.Doc/Help/html/ea230527-cb73-5f65-3758-3cefe73be216.htm index ad124bf6..db4b3480 100644 --- a/src/CSScriptLib.Doc/Help/html/ea230527-cb73-5f65-3758-3cefe73be216.htm +++ b/src/CSScriptLib.Doc/Help/html/ea230527-cb73-5f65-3758-3cefe73be216.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
Object LoadCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
Object LoadCode(
 	string scriptText,
 	params Object[] args
 )

Parameters

scriptText
Type: SystemString
The C# script text.
args
Type: SystemObject
The non default constructor arguments.

Return Value

Type: Object
Instance of the class defined in the script.
Examples
The following is the simple example of the LoadCode usage: diff --git a/src/CSScriptLib.Doc/Help/html/eb7dc37e-136a-812e-a573-cabe4f7557e7.htm b/src/CSScriptLib.Doc/Help/html/eb7dc37e-136a-812e-a573-cabe4f7557e7.htm index 9ab5c340..a08da12a 100644 --- a/src/CSScriptLib.Doc/Help/html/eb7dc37e-136a-812e-a573-cabe4f7557e7.htm +++ b/src/CSScriptLib.Doc/Help/html/eb7dc37e-136a-812e-a573-cabe4f7557e7.htm @@ -8,7 +8,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public Assembly CompileCode(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public Assembly CompileCode(
 	string scriptText,
 	CompileInfo info = null
 )

Parameters

scriptText
Type: SystemString
The C# script text.
info (Optional)
Type: CSScriptLibCompileInfo

Return Value

Type: Assembly
The compiled assembly.

Implements

IEvaluatorCompileCode(String, CompileInfo)
Examples
var info = new CompileInfo
diff --git a/src/CSScriptLib.Doc/Help/html/ebc3afc5-8d42-9a7b-d9a4-eef0d80d73fd.htm b/src/CSScriptLib.Doc/Help/html/ebc3afc5-8d42-9a7b-d9a4-eef0d80d73fd.htm
index 049c9177..cd8ae25e 100644
--- a/src/CSScriptLib.Doc/Help/html/ebc3afc5-8d42-9a7b-d9a4-eef0d80d73fd.htm
+++ b/src/CSScriptLib.Doc/Help/html/ebc3afc5-8d42-9a7b-d9a4-eef0d80d73fd.htm
@@ -4,7 +4,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static class Runtime

The Runtime type exposes the following members.

Properties
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static class Runtime

The Runtime type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDesktopAssembliesDir
Returns path to the `Microsoft.WindowsDesktop.App` shared assemblies of the compatible diff --git a/src/CSScriptLib.Doc/Help/html/edf1c4ef-a99a-f712-c71a-ede6c24d938a.htm b/src/CSScriptLib.Doc/Help/html/edf1c4ef-a99a-f712-c71a-ede6c24d938a.htm index 08e38e4c..47a3515b 100644 --- a/src/CSScriptLib.Doc/Help/html/edf1c4ef-a99a-f712-c71a-ede6c24d938a.htm +++ b/src/CSScriptLib.Doc/Help/html/edf1c4ef-a99a-f712-c71a-ede6c24d938a.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string Script

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string Script

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/eed08338-c834-567c-1095-ab484c37ebac.htm b/src/CSScriptLib.Doc/Help/html/eed08338-c834-567c-1095-ab484c37ebac.htm index 19f7a979..7d2143e7 100644 --- a/src/CSScriptLib.Doc/Help/html/eed08338-c834-567c-1095-ab484c37ebac.htm +++ b/src/CSScriptLib.Doc/Help/html/eed08338-c834-567c-1095-ab484c37ebac.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public bool CoInitializeSecurity

Field Value

Type: Boolean
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public bool CoInitializeSecurity

Field Value

Type: Boolean
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/eef6a153-ee15-cd17-ee00-060fb7b917b2.htm b/src/CSScriptLib.Doc/Help/html/eef6a153-ee15-cd17-ee00-060fb7b917b2.htm index 76e4dd78..a3ff8980 100644 --- a/src/CSScriptLib.Doc/Help/html/eef6a153-ee15-cd17-ee00-060fb7b917b2.htm +++ b/src/CSScriptLib.Doc/Help/html/eef6a153-ee15-cd17-ee00-060fb7b917b2.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ReferencedNamespaces

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ReferencedNamespaces

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f09af14a-a96c-ff1c-f1b5-55440434391d.htm b/src/CSScriptLib.Doc/Help/html/f09af14a-a96c-ff1c-f1b5-55440434391d.htm index 0a1615a4..7d8fb546 100644 --- a/src/CSScriptLib.Doc/Help/html/f09af14a-a96c-ff1c-f1b5-55440434391d.htm +++ b/src/CSScriptLib.Doc/Help/html/f09af14a-a96c-ff1c-f1b5-55440434391d.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSharpParserCmdScriptInfo[] CmdScripts { get; }

Property Value

Type: CSharpParserCmdScriptInfo
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSharpParserCmdScriptInfo[] CmdScripts { get; }

Property Value

Type: CSharpParserCmdScriptInfo
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f0e8b773-d7cb-2018-9ba6-ca42d1878ec2.htm b/src/CSScriptLib.Doc/Help/html/f0e8b773-d7cb-2018-9ba6-ca42d1878ec2.htm index 4b68bb90..7089e7e5 100644 --- a/src/CSScriptLib.Doc/Help/html/f0e8b773-d7cb-2018-9ba6-ca42d1878ec2.htm +++ b/src/CSScriptLib.Doc/Help/html/f0e8b773-d7cb-2018-9ba6-ca42d1878ec2.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string GetFileName(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string GetFileName(
 	this string path
 )

Parameters

path
Type: SystemString
The path.

Return Value

Type: String
The method result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f278c301-ea20-80a0-593e-6a912b0eda89.htm b/src/CSScriptLib.Doc/Help/html/f278c301-ea20-80a0-593e-6a912b0eda89.htm index 5f06d346..561796f8 100644 --- a/src/CSScriptLib.Doc/Help/html/f278c301-ea20-80a0-593e-6a912b0eda89.htm +++ b/src/CSScriptLib.Doc/Help/html/f278c301-ea20-80a0-593e-6a912b0eda89.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string[] ResFiles { get; }

Property Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string[] ResFiles { get; }

Property Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f290fff2-c407-abb2-5a33-447f94453803.htm b/src/CSScriptLib.Doc/Help/html/f290fff2-c407-abb2-5a33-447f94453803.htm index 9255062b..cedb75fe 100644 --- a/src/CSScriptLib.Doc/Help/html/f290fff2-c407-abb2-5a33-447f94453803.htm +++ b/src/CSScriptLib.Doc/Help/html/f290fff2-c407-abb2-5a33-447f94453803.htm @@ -2,4 +2,4 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CompilerResults()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CompilerResults()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f35df10b-1494-9f5a-0244-44f6d395d8c3.htm b/src/CSScriptLib.Doc/Help/html/f35df10b-1494-9f5a-0244-44f6d395d8c3.htm index 43be17b5..233311a5 100644 --- a/src/CSScriptLib.Doc/Help/html/f35df10b-1494-9f5a-0244-44f6d395d8c3.htm +++ b/src/CSScriptLib.Doc/Help/html/f35df10b-1494-9f5a-0244-44f6d395d8c3.htm @@ -2,4 +2,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public CSScript()
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public CSScript()
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f3a34d8f-79b9-4863-5089-b74fb32b266b.htm b/src/CSScriptLib.Doc/Help/html/f3a34d8f-79b9-4863-5089-b74fb32b266b.htm index f5dac74f..dea14fcb 100644 --- a/src/CSScriptLib.Doc/Help/html/f3a34d8f-79b9-4863-5089-b74fb32b266b.htm +++ b/src/CSScriptLib.Doc/Help/html/f3a34d8f-79b9-4863-5089-b74fb32b266b.htm @@ -10,7 +10,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
IEvaluator Clone(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
IEvaluator Clone(
 	bool copyRefAssemblies = true
 )

Parameters

copyRefAssemblies (Optional)
Type: SystemBoolean
if set to true all referenced assemblies from the parent IEvaluator will be referenced in the cloned copy.

Return Value

Type: IEvaluator
The freshly initialized instance of the IEvaluator.
Examples
var eval1 = CSScript.Evaluator.Clone();
diff --git a/src/CSScriptLib.Doc/Help/html/f4567bee-c0ab-2e65-9e85-bcf87289a445.htm b/src/CSScriptLib.Doc/Help/html/f4567bee-c0ab-2e65-9e85-bcf87289a445.htm
index 4b5cb4df..9de47ee9 100644
--- a/src/CSScriptLib.Doc/Help/html/f4567bee-c0ab-2e65-9e85-bcf87289a445.htm
+++ b/src/CSScriptLib.Doc/Help/html/f4567bee-c0ab-2e65-9e85-bcf87289a445.htm
@@ -8,7 +8,7 @@
     Namespace: 
    CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
T LoadMethod<T>(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
T LoadMethod<T>(
 	string code
 )
 where T : class
diff --git a/src/CSScriptLib.Doc/Help/html/f5eb4f01-8395-d745-0665-c2cb7fc57f1b.htm b/src/CSScriptLib.Doc/Help/html/f5eb4f01-8395-d745-0665-c2cb7fc57f1b.htm
index 7671f821..42e73d5d 100644
--- a/src/CSScriptLib.Doc/Help/html/f5eb4f01-8395-d745-0665-c2cb7fc57f1b.htm
+++ b/src/CSScriptLib.Doc/Help/html/f5eb4f01-8395-d745-0665-c2cb7fc57f1b.htm
@@ -4,4 +4,4 @@
     Namespace: 
    csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string ignoreFileName

Field Value

Type: String
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string ignoreFileName

Field Value

Type: String
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f6a6e393-2998-fed9-9861-369ed7537841.htm b/src/CSScriptLib.Doc/Help/html/f6a6e393-2998-fed9-9861-369ed7537841.htm index e88942e1..48ff6ee3 100644 --- a/src/CSScriptLib.Doc/Help/html/f6a6e393-2998-fed9-9861-369ed7537841.htm +++ b/src/CSScriptLib.Doc/Help/html/f6a6e393-2998-fed9-9861-369ed7537841.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public int RpcImpLevel

Field Value

Type: Int32
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public int RpcImpLevel

Field Value

Type: Int32
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f6bf61f0-43b7-43ba-dd53-95a63205486f.htm b/src/CSScriptLib.Doc/Help/html/f6bf61f0-43b7-43ba-dd53-95a63205486f.htm index 8e2a3d05..6ac33722 100644 --- a/src/CSScriptLib.Doc/Help/html/f6bf61f0-43b7-43ba-dd53-95a63205486f.htm +++ b/src/CSScriptLib.Doc/Help/html/f6bf61f0-43b7-43ba-dd53-95a63205486f.htm @@ -4,4 +4,4 @@ Namespace:  CSScripting
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public static string dotnet { get; }

Property Value

Type: String
The dotnet executable path.
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string dotnet { get; }

Property Value

Type: String
The dotnet executable path.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f6c9aff7-3f15-0b9d-a929-5e5f02fe18bb.htm b/src/CSScriptLib.Doc/Help/html/f6c9aff7-3f15-0b9d-a929-5e5f02fe18bb.htm index e122638c..5d48c96f 100644 --- a/src/CSScriptLib.Doc/Help/html/f6c9aff7-3f15-0b9d-a929-5e5f02fe18bb.htm +++ b/src/CSScriptLib.Doc/Help/html/f6c9aff7-3f15-0b9d-a929-5e5f02fe18bb.htm @@ -4,4 +4,4 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public ScriptParsingResult GetContext()

Return Value

Type: ScriptParsingResult
Parsing result
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public ScriptParsingResult GetContext()

Return Value

Type: ScriptParsingResult
Parsing result
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/f706d49a-511f-da56-d67d-4d25ea24868a.htm b/src/CSScriptLib.Doc/Help/html/f706d49a-511f-da56-d67d-4d25ea24868a.htm index 9d666ef8..bb7f9817 100644 --- a/src/CSScriptLib.Doc/Help/html/f706d49a-511f-da56-d67d-4d25ea24868a.htm +++ b/src/CSScriptLib.Doc/Help/html/f706d49a-511f-da56-d67d-4d25ea24868a.htm @@ -5,7 +5,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class EvaluatorConfig

The EvaluatorConfig type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
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
  @@ -19,7 +19,9 @@ supports options effectively this property is a user specified string of CLI arguments for `csc.exe`.

If you want to specify compiler options per script execution then you can use CompilerOptions.

Public propertyCode exampleDebugBuild
Default value of the IEvaluator. DebugBuild property - controlling the generation of the debug symbols.
Examples
CSScript.EvaluatorConfig.DebugBuild = true;
+             controlling the generation of the debug symbols.
+             

In case of CodeDomEvaluator evaluator setting this property to true + will also set conditional compiling symbol `DEBUG`.

Examples
CSScript.EvaluatorConfig.DebugBuild = true;
 dynamic script = CSScript.Evaluator
 .LoadMethod(...
Public propertyEngine
Gets or sets the default evaluator engine type. @@ -28,9 +30,12 @@

Public propertyPdbFormat
Gets or sets the PDB format. This property is only used if DebugBuild is set to true.
Public propertyReferenceDomainAssemblies
- Flag that controls if the host AppDo,main referenced assemblies are automatically + Flag that controls if the host AppDomain referenced assemblies are automatically referenced at creation of IEvaluator. -
Public propertyRefernceDomainAsemblies Obsolete.
+

Note, the assemblies are getting referenced with an automatic call + ReferenceDomainAssemblies(DomainAssemblies) with the default argument. + This may not be consistent with your intend. If it is the case then it is recommended that you call + ReferenceDomainAssemblies(DomainAssemblies) with the desired argument explicitly.

Public propertyRefernceDomainAsemblies Obsolete.
Flag that controls if the host AppDo,main referenced assemblies are automatically referenced at creation of IEvaluator.
Top
Methods
diff --git a/src/CSScriptLib.Doc/Help/html/f7a1ca69-dadf-f11c-c28d-1d07023d8a21.htm b/src/CSScriptLib.Doc/Help/html/f7a1ca69-dadf-f11c-c28d-1d07023d8a21.htm index 14b4a3f2..05f830e8 100644 --- a/src/CSScriptLib.Doc/Help/html/f7a1ca69-dadf-f11c-c28d-1d07023d8a21.htm +++ b/src/CSScriptLib.Doc/Help/html/f7a1ca69-dadf-f11c-c28d-1d07023d8a21.htm @@ -4,7 +4,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
protected override (byte[] , byte[] ) Compile(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
protected override (byte[] , byte[] ) Compile(
 	string scriptText,
 	string scriptFile,
 	CompileInfo info
diff --git a/src/CSScriptLib.Doc/Help/html/fc41bf6b-df51-f7a1-8162-19764192029a.htm b/src/CSScriptLib.Doc/Help/html/fc41bf6b-df51-f7a1-8162-19764192029a.htm
index cab64fa0..9fc238a2 100644
--- a/src/CSScriptLib.Doc/Help/html/fc41bf6b-df51-f7a1-8162-19764192029a.htm
+++ b/src/CSScriptLib.Doc/Help/html/fc41bf6b-df51-f7a1-8162-19764192029a.htm
@@ -1,4 +1,4 @@
-CSharpParser.EscapeDirectiveDelimiters Method 

CSharpParserEscapeDirectiveDelimiters Method

+CSharpParser.EscapeDirectiveDelimiters Method

CSharpParserEscapeDirectiveDelimiters Method

Escapes the CS-Script directive (e.g. //css_*) delimiters.

All //css_* directives should escape any internal CS-Script delimiters by doubling the delimiter character. For example //css_include for 'script(today).cs' should escape brackets as they are the directive delimiters. @@ -8,6 +8,6 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public static string EscapeDirectiveDelimiters(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public static string EscapeDirectiveDelimiters(
 	string text
 )

Parameters

text
Type: SystemString
The text to be processed.

Return Value

Type: String
The escaped string.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/fca67e2d-b95b-471f-0774-265314e5ace6.htm b/src/CSScriptLib.Doc/Help/html/fca67e2d-b95b-471f-0774-265314e5ace6.htm index f1649cfc..7675d09b 100644 --- a/src/CSScriptLib.Doc/Help/html/fca67e2d-b95b-471f-0774-265314e5ace6.htm +++ b/src/CSScriptLib.Doc/Help/html/fca67e2d-b95b-471f-0774-265314e5ace6.htm @@ -4,6 +4,6 @@ Namespace:  CSScripting.CodeDom
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public string ErrorText { get; set; }

Property Value

Type: String
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public string ErrorText { get; set; }

Property Value

Type: String
The error text.
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/fe594be8-32a4-9b82-df90-29cee19aab90.htm b/src/CSScriptLib.Doc/Help/html/fe594be8-32a4-9b82-df90-29cee19aab90.htm index 763a3448..f3ff4b46 100644 --- a/src/CSScriptLib.Doc/Help/html/fe594be8-32a4-9b82-df90-29cee19aab90.htm +++ b/src/CSScriptLib.Doc/Help/html/fe594be8-32a4-9b82-df90-29cee19aab90.htm @@ -1,7 +1,7 @@ -EvaluatorBase(T).GetReferencedAssembliesFiles Method

EvaluatorBaseTGetReferencedAssembliesFiles Method

+EvaluatorBase(T).GetReferencedAssembliesFiles Method

EvaluatorBaseTGetReferencedAssembliesFiles Method

Gets the referenced assemblies files.

Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public virtual string[] GetReferencedAssembliesFiles()

Return Value

Type: String
The method result.
Exceptions
ExceptionCondition
NotImplementedException
See Also
\ No newline at end of file +  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public virtual string[] GetReferencedAssembliesFiles()

Return Value

Type: String
The method result.
Exceptions
ExceptionCondition
NotImplementedException
See Also
\ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/html/ff5bd876-fe2d-b9ef-4998-eebd8ed4deb1.htm b/src/CSScriptLib.Doc/Help/html/ff5bd876-fe2d-b9ef-4998-eebd8ed4deb1.htm index 23045fbd..c2657ce5 100644 --- a/src/CSScriptLib.Doc/Help/html/ff5bd876-fe2d-b9ef-4998-eebd8ed4deb1.htm +++ b/src/CSScriptLib.Doc/Help/html/ff5bd876-fe2d-b9ef-4998-eebd8ed4deb1.htm @@ -1,4 +1,4 @@ -EvaluatorBase(T).Reset Method

EvaluatorBaseTReset Method

+EvaluatorBase(T).Reset Method

EvaluatorBaseTReset Method

Resets Evaluator.

Resetting means clearing all referenced assemblies, recreating evaluation infrastructure @@ -10,7 +10,7 @@ Namespace:  CSScriptLib
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020

Syntax
C#
public virtual IEvaluator Reset(
+   CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public virtual IEvaluator Reset(
 	bool referenceDomainAssemblies = true
 )

Parameters

referenceDomainAssemblies (Optional)
Type: SystemBoolean
if set to true the default assemblies of the current AppDomain will be referenced diff --git a/src/CSScriptLib.Doc/Help/html/fffa2be9-b2b0-a2e0-1965-20d046d5c77f.htm b/src/CSScriptLib.Doc/Help/html/fffa2be9-b2b0-a2e0-1965-20d046d5c77f.htm index 050f4e00..df18c1b1 100644 --- a/src/CSScriptLib.Doc/Help/html/fffa2be9-b2b0-a2e0-1965-20d046d5c77f.htm +++ b/src/CSScriptLib.Doc/Help/html/fffa2be9-b2b0-a2e0-1965-20d046d5c77f.htm @@ -4,7 +4,7 @@ Namespace:  csscript
Assembly: -  CSScriptLib (in CSScriptLib.dll) Version: 4.4.4.0+6b17f151d4b15bc51b5d92aff68715b381a28020
Syntax
C#
public class AssemblyResolver

The AssemblyResolver type exposes the following members.

Constructors
+  CSScriptLib (in CSScriptLib.dll) Version: 4.4.5.0+fc109636664af2fb0770b7ae616ce70bde4c3f9d
Syntax
C#
public class AssemblyResolver

The AssemblyResolver type exposes the following members.

Constructors
  NameDescription
Public methodAssemblyResolver
Initializes a new instance of the AssemblyResolver class
Top
Methods
  diff --git a/src/CSScriptLib.Doc/Help/toc/108a0b21-21aa-711d-bdf5-d2e9ed51f742.xml b/src/CSScriptLib.Doc/Help/toc/108a0b21-21aa-711d-bdf5-d2e9ed51f742.xml index 174a0a5a..0a195f67 100644 --- a/src/CSScriptLib.Doc/Help/toc/108a0b21-21aa-711d-bdf5-d2e9ed51f742.xml +++ b/src/CSScriptLib.Doc/Help/toc/108a0b21-21aa-711d-bdf5-d2e9ed51f742.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/CSScriptLib.Doc/Help/toc/95ae8284-4579-383f-ffd7-2b3931f40877.xml b/src/CSScriptLib.Doc/Help/toc/95ae8284-4579-383f-ffd7-2b3931f40877.xml index af5bc614..3243e66a 100644 --- a/src/CSScriptLib.Doc/Help/toc/95ae8284-4579-383f-ffd7-2b3931f40877.xml +++ b/src/CSScriptLib.Doc/Help/toc/95ae8284-4579-383f-ffd7-2b3931f40877.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/CSScriptLib/src/CSScriptLib/CSScriptLib.csproj b/src/CSScriptLib/src/CSScriptLib/CSScriptLib.csproj index aa889400..021bcbea 100644 --- a/src/CSScriptLib/src/CSScriptLib/CSScriptLib.csproj +++ b/src/CSScriptLib/src/CSScriptLib/CSScriptLib.csproj @@ -13,7 +13,7 @@ true snupkg true - 4.4.4.0-pre + 4.4.5.0 Oleg Shilo CS-Script engine Class Library for .NET 5 (and higher) (C) 2018-2022 Oleg Shilo @@ -34,15 +34,17 @@ ### CSScriptLib - Added `CSScript.EvaluatorConfig.CompilerOptions` for defining global compiler options for CodeDomEvaluator (RoslynEvaluator does not support string compiler options) -- Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty +- Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty +- Issue #295: add compiler option -define:DEBUG if debug is set +- Add support for generic types to LoadMethod<T> true - 4.4.4.0 - 4.4.4.0 + 4.4.5.0 + 4.4.5.0 MIT css_logo.png - + CSScriptLib.xml @@ -84,10 +86,10 @@ - - + + - + diff --git a/src/CSScriptLib/src/CSScriptLib/IEvaluator.cs b/src/CSScriptLib/src/CSScriptLib/IEvaluator.cs index b2853d56..8a015208 100644 --- a/src/CSScriptLib/src/CSScriptLib/IEvaluator.cs +++ b/src/CSScriptLib/src/CSScriptLib/IEvaluator.cs @@ -172,7 +172,8 @@ public bool ReferenceDomainAssemblies set { refDomainAsms = value; } } - public DomainAssemblies ReferenceDomainAssembliesModel { get; set; } = DomainAssemblies.AllStaticNonGAC; + // zos will be supported in the next release + // public DomainAssemblies ReferenceDomainAssembliesModel { get; set; } = DomainAssemblies.AllStaticNonGAC; /// /// Gets or sets the default evaluator engine type. diff --git a/src/cscs/Utils/PathExtensions.cs b/src/cscs/Utils/PathExtensions.cs index c752935b..9b21fcc1 100644 --- a/src/cscs/Utils/PathExtensions.cs +++ b/src/cscs/Utils/PathExtensions.cs @@ -172,7 +172,10 @@ public static string EnsureFileDir(this string file, bool rethrow = true) /// /// The path. /// if set to true [handle exceptions]. - /// The original directory path + /// if set to true [do not deletе root]. + /// + /// The original directory path + /// public static string DeleteDir(this string path, bool handleExceptions = false, bool doNotDeletеRoot = false) { if (Directory.Exists(path)) diff --git a/src/cscs/Utils/ReflectionExtensions.cs b/src/cscs/Utils/ReflectionExtensions.cs index 0fa3061e..bcb45365 100644 --- a/src/cscs/Utils/ReflectionExtensions.cs +++ b/src/cscs/Utils/ReflectionExtensions.cs @@ -1,10 +1,10 @@ -using Microsoft.CodeAnalysis; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Loader; +using Microsoft.CodeAnalysis; namespace CSScripting { @@ -31,9 +31,9 @@ public static class AssemblyUnloadingExtensions /// how the assemblies (compiled scripts) are loaded. /// /// Note, unloading of assembly is implemented by CLR not CS-Script. This method extension is simply - /// redirecting the call to the .NET - /// . Thus it is subject of the - /// underlying limitations. Thus an AssemblyLoadContext can only be unloaded if it is collectible. And + /// redirecting the call to the .NET + /// . Thus it is subject of the + /// underlying limitations. Thus an AssemblyLoadContext can only be unloaded if it is collectible. And /// Unloading will occur asynchronously. /// /// @@ -265,7 +265,7 @@ static bool IsScriptRootClass(this Type type) => type.FullName.Contains($"{Globals.RootClassName}+"); // Submission#0+Script internal static IEnumerable OrderedUserTypes(this Assembly asm) - => asm.ExportedTypes + => asm.ExportedTypes .Where(t => !t.IsRoslynInternalType()) .OrderBy(t => !t.IsScriptRootClass()); // ScriptRootClass will be on top diff --git a/src/cscs/cscs.csproj b/src/cscs/cscs.csproj index 4051f08d..2f3ab951 100644 --- a/src/cscs/cscs.csproj +++ b/src/cscs/cscs.csproj @@ -6,7 +6,7 @@ cscs CSScripting - 4.4.4.0 + 4.4.5.0 Oleg Shilo CS-Script (C) 2004-2022 Oleg Shilo @@ -17,8 +17,8 @@ https://github.com/oleg-shilo/cs-script git C# script dynamic - 4.4.4.0 - 4.4.4.0 + 4.4.5.0 + 4.4.5.0 --- ## Changes @@ -30,7 +30,9 @@ ### CSScriptLib - Added `CSScript.EvaluatorConfig.CompilerOptions` for defining global compiler options for CodeDomEvaluator (RoslynEvaluator does not support string compiler options) -- Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty +- Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty +- Issue #295: add compiler option -define:DEBUG if debug is set +- Add support for generic types to LoadMethod<T> MIT css_logo.png css_logo.ico diff --git a/src/css/Properties/AssemblyInfo.cs b/src/css/Properties/AssemblyInfo.cs index 265658d2..c66bc00e 100644 --- a/src/css/Properties/AssemblyInfo.cs +++ b/src/css/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.4.4.0")] -[assembly: AssemblyFileVersion("4.4.4.0")] +[assembly: AssemblyVersion("4.4.5.0")] +[assembly: AssemblyFileVersion("4.4.5.0")] diff --git a/src/csws/csws.csproj b/src/csws/csws.csproj index 32db72d3..a1046733 100644 --- a/src/csws/csws.csproj +++ b/src/csws/csws.csproj @@ -7,7 +7,7 @@ csws CSScripting - 4.4.4.0 + 4.4.5.0 Oleg Shilo CS-Script (C) 2004-2022 Oleg Shilo @@ -18,8 +18,8 @@ https://github.com/oleg-shilo/cs-script git C# script dynamic - 4.4.4.0 - 4.4.4.0 + 4.4.5.0 + 4.4.5.0 --- ## Changes @@ -31,7 +31,9 @@ ### CSScriptLib - Added `CSScript.EvaluatorConfig.CompilerOptions` for defining global compiler options for CodeDomEvaluator (RoslynEvaluator does not support string compiler options) -- Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty +- Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty +- Issue #295: add compiler option -define:DEBUG if debug is set +- Add support for generic types to LoadMethod<T> MIT css_logo.ico ..\logo\css_logo.png diff --git a/src/out/Windows/cscs.deps.json b/src/out/Windows/cscs.deps.json index d05b4413..5710a68a 100644 --- a/src/out/Windows/cscs.deps.json +++ b/src/out/Windows/cscs.deps.json @@ -6,7 +6,7 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v6.0": { - "cscs/4.4.4.0": { + "cscs/4.4.5.0": { "dependencies": { "Microsoft.CodeAnalysis.CSharp.Scripting": "3.10.0" }, @@ -468,7 +468,7 @@ } }, "libraries": { - "cscs/4.4.4.0": { + "cscs/4.4.5.0": { "type": "project", "serviceable": false, "sha512": "" diff --git a/src/out/Windows/csws.deps.json b/src/out/Windows/csws.deps.json index eebc00ed..7161a04b 100644 --- a/src/out/Windows/csws.deps.json +++ b/src/out/Windows/csws.deps.json @@ -6,7 +6,7 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v6.0": { - "csws/4.4.4.0": { + "csws/4.4.5.0": { "dependencies": { "Microsoft.CodeAnalysis.CSharp.Scripting": "3.10.0" }, @@ -468,7 +468,7 @@ } }, "libraries": { - "csws/4.4.4.0": { + "csws/4.4.5.0": { "type": "project", "serviceable": false, "sha512": "" diff --git a/src/out/ci/build.sh b/src/out/ci/build.sh index 67c8cb1f..94707957 100644 --- a/src/out/ci/build.sh +++ b/src/out/ci/build.sh @@ -1,3 +1,3 @@ cd /home/user/lnx-build -sudo chmod 775 cs-script_4.4-3/DEBIAN/p* -dpkg-deb --build cs-script_4.4-3 \ No newline at end of file +sudo chmod 775 cs-script_4.4-5/DEBIAN/p* +dpkg-deb --build cs-script_4.4-5 \ No newline at end of file diff --git a/src/release_notes.md b/src/release_notes.md index 70dda511..18953ca1 100644 --- a/src/release_notes.md +++ b/src/release_notes.md @@ -1,4 +1,4 @@ -# Release v4.4.4.0 +# Release v4.4.5.0 --- @@ -12,6 +12,12 @@ - Added `CSScript.EvaluatorConfig.CompilerOptions` for defining global compiler options for CodeDomEvaluator (RoslynEvaluator does not support string compiler options) - Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty +- Issue #295: add compiler option -define:DEBUG if debug is set +- Add support for generic types to LoadMethod + + + +