bindPublications

Binds two property publishers.

After the call, each property published in source and target that have the same runtime type and the same name share the same value.

void
bindPublications
(
bool recursive = false
S
T
)
(
auto ref S src
,
auto ref T trg
)

Parameters

recursive

Indicates if the process is recursive.

src
Type: S

The aggregate from where the properties values are copied. Either a class or a struct that's mixed with PropertyPublisherImpl or a PropertyPublisher.

trg
Type: T

The aggregate to where the properties values are copied. The Target type has the same requirement as the source type.

Meta