RuntimeMapper.map

Map from component to component.

Map from component to component, or transfer data from component to component with optional conversion of data along the way.

class RuntimeMapper
void
map
(
Object from
,
ref Object to
,
RCIAllocator allocator = theAllocator
)

Parameters

from Object

original component that has it's data transferred

to Object

destination component that receives transferred data

allocator RCIAllocator

optional allocator that could be used by convertors when doing field conversion

Throws

InvalidArgumentException when no either accessor, setter, or inspector is found.

Meta