Configuration
More...
|
| static object | Create (string[] args, System.Type type, Energy.Core.Shell.OptionStyle style) |
| | Create configuration object from command line arguments and type with fields decorated Energy.Attribute.Command.Option attributes using specified shell option style. More...
|
| |
| static object | Create (string[] args, System.Type type) |
| | Create configuration object from command line arguments and type with fields decorated Energy.Attribute.Command.Option attributes using default command option style. More...
|
| |
◆ Create() [1/2]
Create configuration object from command line arguments and type with fields decorated Energy.Attribute.Command.Option attributes using specified shell option style.
- Parameters
-
| args | Command line options |
| type | Configuration class type |
| style | Command line option style settings |
- Returns
- Configuration object
◆ Create() [2/2]
| static object Energy.Core.Configuration.Create |
( |
string [] |
args, |
|
|
System.Type |
type |
|
) |
| |
|
static |
Create configuration object from command line arguments and type with fields decorated Energy.Attribute.Command.Option attributes using default command option style.
- Parameters
-
- Returns
- Configuration object
◆ Load() [1/2]
| bool Energy.Core.Configuration.Load |
( |
string |
file | ) |
|
◆ Load() [2/2]
◆ Parse()
| void Energy.Core.Configuration.Parse |
( |
string [] |
args | ) |
|
◆ Select()
| Element Energy.Core.Configuration.Select |
( |
params string [] |
array | ) |
|
◆ Options
◆ this[string key]
| Element Energy.Core.Configuration.this[string key] |
|
get |
The documentation for this class was generated from the following file: