C# Class Mosa.Compiler.Framework.CompilerOptions

Show file Open project: tgiphil/MOSA-Project Class Usage Examples

Public Methods

Method Description
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.

Method Details

CompilerOptions() public method

Initializes a new instance of the CompilerOptions class.
public CompilerOptions ( ) : System
return System

GetCustomOption() public method

public GetCustomOption ( string name ) : string
name string
return string

GetCustomOptionAsBoolean() public method

Gets the custom option as boolean.
public GetCustomOptionAsBoolean ( string name, bool @default = false ) : bool
name string The name.
@default bool
return bool

GetCustomOptionAsInteger() public method

Gets the custom option as integer.
public GetCustomOptionAsInteger ( string name, int @default ) : int
name string The name.
@default int
return int

GetCustomOptionAsInteger() public method

Gets the custom option as integer.
public GetCustomOptionAsInteger ( string name, int @default = null ) : int?
name string The name.
@default int
return int?

SetCustomOption() public method

Sets the custom option.
public SetCustomOption ( string name, string value ) : void
name string The name.
value string The value.
return void