IConfigurator
Description
- Derived from
- Extended by
-
ConfiguratorBase abstract
IConfiguratorEnum
Base interface for classes that create objects from config values.
Public / Methods
FromField
Creates a new instance from a field of the given configuration value.
- ConfigException
-
If config in resp. field in specify malformed configuration data.
- IOException
-
If a temporary I/O error has occurred; the same call might succeed later.
- ValidatingException
-
If the given config value is invalid (see IValidatable.Validate).
FromScript
Creates a new instance from the given configuration entity.
- ConfigException
-
If script in resp. name in specify malformed configuration data.
- IOException
-
If a temporary I/O error has occurred; the same call might succeed later.
- ValidatingException
-
If the given config value is invalid (see IValidatable.Validate).
FromValue
Creates a new instance from the given configuration value.
- ConfigException
-
If config in specifies malformed configuration data.
- IOException
-
If a temporary I/O error has occurred; the same call might succeed later.
- ValidatingException
-
If the given config value is invalid (see IValidatable.Validate).
FromValueArray
Creates an array of instances from the given configuration value.
- ConfigException
-
If config in specifies malformed configuration data.
- IOException
-
If a temporary I/O error has occurred; the same call might succeed later.
- ValidatingException
-
If the given config value is invalid (see IValidatable.Validate).
FromValueList
Creates an array of instances from the given configuration value.
- ConfigException
-
If config in specifies malformed configuration data.
- IOException
-
If a temporary I/O error has occurred; the same call might succeed later.
- ValidatingException
-
If the given config value is invalid (see IValidatable.Validate).
ToValue
Returns the configuration value that describes the given object.
The returned value may be of type ConfigType.Invalid, which means that the given object in its current state cannot be described with the configuration API.
- ConfigException
-
If an unexpected error has occurred while building the config value.
ToValueArray
Returns the configuration value that describes the given objects.
The returned value may be of type ConfigType.Invalid, which means that the given object in its current state cannot be described with the configuration API.
- ConfigException
-
If an unexpected error has occurred while building the config values.
ToValueEnumerable
Returns the configuration value that describes the given objects.
The returned value may be of type ConfigType.Invalid, which means that the given object in its current state cannot be described with the configuration API.
- ConfigException
-
If an unexpected error has occurred while building the config values.
ToValueList
Returns the configuration value that describes the given objects.
The returned value may be of type ConfigType.Invalid, which means that the given object in its current state cannot be described with the configuration API.
- ConfigException
-
If an unexpected error has occurred while building the config values.