RuntimeCompositeAccessor.access

Get a property out of component

class RuntimeCompositeAccessor(ComponentType, FieldType = ComponentType, KeyType = string)
const
FieldType
access
(
Object component
,
in KeyType path
)

Parameters

component Object

a component which has some properties identified by property.

Return Value

Type: FieldType

FieldType accessed property.

Throws

NotFoundException in case when no requested property is available. InvalidArgumentException in case when passed arguments are somehow invalid for use.

Meta