TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IConfiguratorObject in Tinman.Core.Config.Binding

Base interface for classes that create objects from config values.

interface IConfiguratorObject extends IConfiguratorBase
  base of ConfiguratorObject

Attributes

Type

Returns the configuration type of this configurator.

property Type { get }
type ConfigType
value [not-null] The configuration type.
inherited IConfiguratorBase.Type

Methods

FromValuePlain

Creates a new instance from the given configuration value.

[OwnerReturn]
method FromValuePlain (ConfigValue value)
type IConfigurable
params value [not-null] The configuration value.
returns [not-null] The created instance.

PleaseIncludeInBinaryThanks

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.

ValidateValue

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.