I'm trying to add an extension mechanism to nodes, i.e. a sandbox solution node will be extending another node and all of the extended node's properties are copied to the extending node through a reference defined in the structure.
However, when I change one of the copied properties, the actual one is also changed. How can I avoid this?
So, above is a very very basic sketch of the problem, when B's name is changed, A's name is also changed. I think there needs to be an encapsulation to avoid modifications.