C# Класс WF.Compiler.Compiler

Показать файл Открыть проект Примеры использования класса

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

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