copyFromObjectToObject<T extends ISerialisableDeserialisable> static method
T
copyFromObjectToObject<T extends ISerialisableDeserialisable>(
- T sourceObject,
- T targetObject
Util method for copying serialisable objects via serialisation/deserialisation cycle to target.
Implementation
static T copyFromObjectToObject<T extends ISerialisableDeserialisable>(T sourceObject, T targetObject)
{
MarshalledObject encodedObject = _getDeepClonedEncodedObject(sourceObject);
targetObject.unmarshalVirtual(encodedObject);
return targetObject;
}