I'm implementing the IEditableObject
interface and I want to make a generic method that will know how to clone the object before BeginEdit()
.
I thought about reflection to iterate all public properties and copy them to a cached object.
Anyone have a better idea?