C# Class WF.Compiler.Compiler

Afficher le fichier Open project: WFoundation/WF.Compiler Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Usage ( ) : void

Usage of programm when called from command line.

Method Details

CreateEngine() public static méthode

public static CreateEngine ( DeviceType device ) : IEngine
device DeviceType
Résultat IEngine

Download() public static méthode

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.
Résultat System.IO.MemoryStream

Download() public static méthode

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.
Résultat System.IO.MemoryStream

Main() public static méthode

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.
Résultat void

Upload() public static méthode

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
Résultat void

Upload() public static méthode

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.
Résultat void