CS-Script 3.20.0

Advanced scripting


The section contains step-by-step tutorials, which demonstrate how to extend the functionality of CLR applications with scripting. It will guide you through the instantiation of the script engine (CSScriptLibrary.dll) and the execution of scripts at runtime. All tutorials are examples of script hosting according the "Type sharing" pattern.

In This Section

Text Processor
Simple "text editor" application uses the C# code entered by the user for text manipulations. The "type sharing" pattern is implemented with passing well-known type between the script host and the actual script.

Image Processor
Simple "image editor" application dynamically loads files containing image manipulation C# routines and applies them to the image. The "type sharing" pattern is implemented with passing custom type between the script host and the actual script.