Base interface for classes that create objects from config values.
interface
|
IConfiguratorObject
|
extends
|
IConfiguratorBase
|
||
base of
|
ConfiguratorObject
|
Returns the configuration type of this configurator.
property
|
Type
{
get
}
|
||
type
|
ConfigType
|
||
value
|
|
The configuration type. | |
inherited
|
IConfiguratorBase.Type
|
Creates a new instance from the given configuration value.
[OwnerReturn]
|
||||
method
|
FromValuePlain
(ConfigValue value)
|
|||
type
|
IConfigurable
|
|||
params
|
value
|
[not-null]
|
The configuration value. | |
returns
|
|
The created instance. |
This is a no-op method that forces the compiler / linker to include this type in the resulting binary.
method
|
PleaseIncludeInBinaryThanks
()
|
||
inherited
|
IPleaseIncludeInBinaryThanks.PleaseIncludeInBinaryThanks
|
Remarks:
Calling this stub method makes sure that all lazy constructor calls have been made.
To initialize everything, an application needs to call this method on its root module(s) (see TinmanModule), followed by a call to PleaseIncludeInBinaryThanksAll.
Performs custom validation of the given value.
method
|
ValidateValue
(ConfigValue value,
Validator validator)
|
||
params
|
value
|
[not-null]
|
The value to validate. |
validator
|
[not-null]
|
The validator object. |