Class EntityCloner.CloneContext
Helper class for cloning Entity.
public class EntityCloner.CloneContext
- Inheritance
-
EntityCloner.CloneContext
Fields
ClonedObjects
Lists objects that should be cloned.
public HashSet<object> ClonedObjects
Field Value
EntitySerializerSelector
Special serializer that goes through EntitySerializerSelector and CloneEntityComponentSerializer<T>.
public SerializerSelector EntitySerializerSelector
Field Value
MappedObjects
public EntityCloner.TryGetValueFunction<object, object> MappedObjects
Field Value
MemoryStream
public MemoryStream MemoryStream
Field Value
SerializedObjects
public readonly HashSet<object> SerializedObjects
Field Value
SharedObjects
Stores objects that should be reused in the new cloned instance.
public readonly List<object> SharedObjects
Field Value
Methods
Cleanup()
public void Cleanup()