C# 클래스 Nexus.Client.ModManagement.Scripting.CSharpScript.CSharpScriptCompiler

Compiles C# scripts into executable assemblies.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
Compile ( string p_strCode, Type p_tpeBaseScriptType, CompilerErrorCollection &p_cecErrors ) : byte[]

Compiles the given code into an assembly.

The compiled assembly is not loaded into the current app domain.

메소드 상세

Compile() 공개 메소드

Compiles the given code into an assembly.
The compiled assembly is not loaded into the current app domain.
public Compile ( string p_strCode, Type p_tpeBaseScriptType, CompilerErrorCollection &p_cecErrors ) : byte[]
p_strCode string The C# code to compile
p_tpeBaseScriptType System.Type The type of the base script from which the class in the code derives.
p_cecErrors System.CodeDom.Compiler.CompilerErrorCollection The collection in which to return any compilation errors.
리턴 byte[]