C# Class Net.XpFramework.Runner.EnvironmentConfigSource

Inheritance: XpConfigSource
ファイルを表示 Open project: xp-framework/xp-runners

Public Methods

Method Description
GetArgs ( string runtime ) : IEnumerable>.Dictionary

Returns the PHP runtime arguments to be used from this config source based on the given runtime version, overwriting the defaults.

GetExecutable ( string runtime ) : string

Returns the PHP executable to be used from this config source based on the given runtime version, using the default otherwise.

GetExtensions ( string runtime ) : IEnumerable

Returns the PHP extensions to be loaded from this config source based on the given runtime version and the defaults.

GetRuntime ( ) : string

Returns the runtime to be used from this config source

GetUse ( ) : IEnumerable

Returns the use_xp setting derived from this config source

ToString ( ) : string

Returns a string representation of this config source

Valid ( ) : bool

Returns whether this config source is valid

Method Details

GetArgs() public method

Returns the PHP runtime arguments to be used from this config source based on the given runtime version, overwriting the defaults.
public GetArgs ( string runtime ) : IEnumerable>.Dictionary
runtime string
return IEnumerable>.Dictionary

GetExecutable() public method

Returns the PHP executable to be used from this config source based on the given runtime version, using the default otherwise.
public GetExecutable ( string runtime ) : string
runtime string
return string

GetExtensions() public method

Returns the PHP extensions to be loaded from this config source based on the given runtime version and the defaults.
public GetExtensions ( string runtime ) : IEnumerable
runtime string
return IEnumerable

GetRuntime() public method

Returns the runtime to be used from this config source
public GetRuntime ( ) : string
return string

GetUse() public method

Returns the use_xp setting derived from this config source
public GetUse ( ) : IEnumerable
return IEnumerable

ToString() public method

Returns a string representation of this config source
public ToString ( ) : string
return string

Valid() public method

Returns whether this config source is valid
public Valid ( ) : bool
return bool