C# Класс Mosa.Compiler.Framework.CompilerOptions

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

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

Метод Описание
CompilerOptions ( ) : System

Initializes a new instance of the CompilerOptions class.

GetCustomOption ( string name ) : string
GetCustomOptionAsBoolean ( string name, bool @default = false ) : bool

Gets the custom option as boolean.

GetCustomOptionAsInteger ( string name, int @default ) : int

Gets the custom option as integer.

GetCustomOptionAsInteger ( string name, int @default = null ) : int?

Gets the custom option as integer.

SetCustomOption ( string name, string value ) : void

Sets the custom option.

Описание методов

CompilerOptions() публичный Метод

Initializes a new instance of the CompilerOptions class.
public CompilerOptions ( ) : System
Результат System

GetCustomOption() публичный Метод

public GetCustomOption ( string name ) : string
name string
Результат string

GetCustomOptionAsBoolean() публичный Метод

Gets the custom option as boolean.
public GetCustomOptionAsBoolean ( string name, bool @default = false ) : bool
name string The name.
@default bool
Результат bool

GetCustomOptionAsInteger() публичный Метод

Gets the custom option as integer.
public GetCustomOptionAsInteger ( string name, int @default ) : int
name string The name.
@default int
Результат int

GetCustomOptionAsInteger() публичный Метод

Gets the custom option as integer.
public GetCustomOptionAsInteger ( string name, int @default = null ) : int?
name string The name.
@default int
Результат int?

SetCustomOption() публичный Метод

Sets the custom option.
public SetCustomOption ( string name, string value ) : void
name string The name.
value string The value.
Результат void