C# Class Mosa.Compiler.Framework.CompilerOptions

Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Initializes a new instance of the CompilerOptions class.
public CompilerOptions ( ) : System
Résultat System

GetCustomOption() public méthode

public GetCustomOption ( string name ) : string
name string
Résultat string

GetCustomOptionAsBoolean() public méthode

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

GetCustomOptionAsInteger() public méthode

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

GetCustomOptionAsInteger() public méthode

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

SetCustomOption() public méthode

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