Frage

I have the code:

IContainer container = ...;
IContainer copy = container;

But I think, it doesn't make a deep copy of this IContainer.

Does somebody know how to make a deep copy of an IContainer?

War es hilfreich?

Lösung

You should create new container, similar to original one, and then copy from one to another by IPacket as if you do normal read/write.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top