Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top