IConfiguratorObject

Description

interface Tinman.Core.Config.Binding.IConfiguratorObject

Derived from

IConfiguratorBase

Extended by

ConfiguratorObject abstract

Base interface for classes that create objects from config values.

When an IConfiguratorObject creates an object from a config value, the created object will be in the state LifecycleState.Initialized, if the objects class implements the ILifecycleState interface.

Public / Methods

FromValuePlain


[OwnerReturn]
public method FromValuePlain → (1)

value in : ConfigValue

[not-null]
The configuration value.

returns → IConfigurable

The created instance.

Creates a new instance from the given configuration value.

ConfigException

If value 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).

ValidateValue


public method ValidateValue → (2)

value in : ConfigValue

[not-null]
The value to validate.

validator in : Validator

[not-null]
The validator object.

Performs custom validation of the given value.

ConfigException

If value in specifies malformed configuration data.