C# Class Ketarin.UserCSScript

Represents a C# script that can be compiled and executed.
Mostra file Open project: GitSullied/Ketarin Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Compile ( CompilerErrorCollection &errors ) : Assembly

Compiles the user code into an assembly.

Execute ( ApplicationJob argument ) : void
UserCSScript ( string code ) : System

Creates a new instance of a C# script with given code.

Method Details

Compile() public method

Compiles the user code into an assembly.
public Compile ( CompilerErrorCollection &errors ) : Assembly
errors System.CodeDom.Compiler.CompilerErrorCollection Compiler errors if any
return System.Reflection.Assembly

Execute() public method

public Execute ( ApplicationJob argument ) : void
argument ApplicationJob
return void

UserCSScript() public method

Creates a new instance of a C# script with given code.
public UserCSScript ( string code ) : System
code string
return System