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