프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Compiler |
메소드 | 설명 | |
---|---|---|
CanHandleLanguage ( string language ) : bool |
This function checks if the current compiler can compile sources in a given language. By default, the language should match the current compiler's language name exactly, but descendants can override it so that, for example, C# 4.0 compiler could accept C# 2.0 cources.
|
|
Compile ( string sourceCode, |
Compiles given source code
|
|
GetList ( ) : WikiFunctions.CustomModules.CustomModuleCompiler[] |
Returns the list of currently available compiler modules
|
|
ToString ( ) : string |
Enforces that every class derived from this one will be properly displayed in a combo box.
|
메소드 | 설명 | |
---|---|---|
Instantiate ( |
||
Instantiate ( |
||
LoadAssembly ( string path, string dependantAssembliesPrefix ) : |
메소드 | 설명 | |
---|---|---|
AddToList ( List |
||
CustomModuleCompiler ( ) : System | ||
ResolveAssembly ( Object sender, |
public CanHandleLanguage ( string language ) : bool | ||
language | string | Language name to check |
리턴 | bool |
public Compile ( string sourceCode, |
||
sourceCode | string | Source code to compile. It will be automatically wrapped between /// CodeStart and CodeEnd. |
parameters | Compilation options. | |
리턴 |
public static GetList ( ) : WikiFunctions.CustomModules.CustomModuleCompiler[] | ||
리턴 | WikiFunctions.CustomModules.CustomModuleCompiler[] |
protected static Instantiate ( |
||
asm | ||
typeName | string | |
리턴 | object |
protected static Instantiate ( |
||
type | ||
리턴 | object |
protected static LoadAssembly ( string path, string dependantAssembliesPrefix ) : |
||
path | string | |
dependantAssembliesPrefix | string | |
리턴 |