Westwind.Scripting

This site provides class reference documentation for the classes of the Westwind.Scripting library.

Class Reference Highlights

Type NameDescription
 CodeInjection ClassThis site provides class reference documentation for the classes of the Westwind.Scripting library. Class Reference Highlights CSharpScriptExecution Class - C# Code and Expressions Execution…
 CSharpScriptExecution ClassClass that can be used to execute code snippets or entire blocks of methods dynamically. Two methods are provided: ExecuteCode - executes code. Pass parameters and return a value * ExecuteMethod -…
 NamespaceList ClassHashSet of namespaces
 RawString ClassString container that indicates that this string should never be Html Encoded.
 ReferenceList ClassHashSet of References
 RoslynLifetimeManager ClassThis helper can help start up Roslyn before first call so that there's no long startup delay for first script execution and you can also optionally shut Roslyn down and kill the VBCSCompiler that…
 ScriptFileContext ClassContext object used for File based script parsing. The main purpose of this context is to pass data through so that Layout and Sections and partials can be processed reliably.
 ScriptHelper ClassScript Helper that is injected into the script as a global Script variable To use: {{ Script.RenderPartial("./test.template") }}
 ScriptingDelimiters ClassClass that encapsulates the delimiters used for script parsing
 ScriptParser ClassA very simple C# script parser that parses the provided script as a text string with embedded expressions and code blocks. Literal text: Parsed as plain text into the script output. Expressions {{…
 ScriptWriter ClassString Writer Abstraction
 ExecutionErrorTypes EnumInternal reference to the Assembly Generated
 IRawString InterfaceMarker interface

Assembly: Westwind.Scripting.dll