C# 클래스 WF.Compiler.Compiler

파일 보기 프로젝트 열기: WFoundation/WF.Compiler 1 사용 예제들

공개 메소드들

메소드 설명
CreateEngine ( DeviceType device ) : IEngine
Download ( Stream ifs, DeviceType device = DeviceType.Emulator, string userName = "WF.Compiler", string completitionCode = "1234567890ABCDE" ) : MemoryStream

Compiler entry for online compilation.

Download ( string fileInput, DeviceType device = DeviceType.Emulator, string userName = "WF.Compiler", string completitionCode = "1234567890ABCDE" ) : MemoryStream

Compiler entry for online compilation.

Main ( string args ) : void

The entry point of the program, where the program control starts and ends when used from command line.

Upload ( Stream ifs ) : void

Checke the stream fileInput, if it is a valid GWZ file and the Lua code has no errors.

Upload ( string fileInput ) : void

Checke the file with name fileInput, if it is a valid GWZ file and the Lua code has no errors.

비공개 메소드들

메소드 설명
Usage ( ) : void

Usage of programm when called from command line.

메소드 상세

CreateEngine() 공개 정적인 메소드

public static CreateEngine ( DeviceType device ) : IEngine
device DeviceType
리턴 IEngine

Download() 공개 정적인 메소드

Compiler entry for online compilation.
public static Download ( Stream ifs, DeviceType device = DeviceType.Emulator, string userName = "WF.Compiler", string completitionCode = "1234567890ABCDE" ) : MemoryStream
ifs Stream Stream of the input file.
device DeviceType Device.
userName string User name.
completitionCode string Completition code.
리턴 System.IO.MemoryStream

Download() 공개 정적인 메소드

Compiler entry for online compilation.
public static Download ( string fileInput, DeviceType device = DeviceType.Emulator, string userName = "WF.Compiler", string completitionCode = "1234567890ABCDE" ) : MemoryStream
fileInput string File name of the input file.
device DeviceType Device.
userName string User name.
completitionCode string Completition code.
리턴 System.IO.MemoryStream

Main() 공개 정적인 메소드

The entry point of the program, where the program control starts and ends when used from command line.
public static Main ( string args ) : void
args string The command line arguments.
리턴 void

Upload() 공개 정적인 메소드

Checke the stream fileInput, if it is a valid GWZ file and the Lua code has no errors.
public static Upload ( Stream ifs ) : void
ifs Stream
리턴 void

Upload() 공개 정적인 메소드

Checke the file with name fileInput, if it is a valid GWZ file and the Lua code has no errors.
public static Upload ( string fileInput ) : void
fileInput string File name for input.
리턴 void