C# Класс Ketarin.UserCSScript

Represents a C# script that can be compiled and executed.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

Compile() публичный Метод

Compiles the user code into an assembly.
public Compile ( CompilerErrorCollection &errors ) : Assembly
errors System.CodeDom.Compiler.CompilerErrorCollection Compiler errors if any
Результат System.Reflection.Assembly

Execute() публичный Метод

public Execute ( ApplicationJob argument ) : void
argument ApplicationJob
Результат void

UserCSScript() публичный Метод

Creates a new instance of a C# script with given code.
public UserCSScript ( string code ) : System
code string
Результат System