DeepCloner
DeepCloner copied to clipboard
Cloner class
This class will allow users not to write wrappers to make their code more testable and flexible.
Looks good, but it would be really nice to get rid of the statics..
Sorry for long delay. What is the sense of this PR? It looks like as copy of DeepClonerExtensions class but without static members (except ShallowClone
but it seems as mistake in PR). If this class is helper for testing or for ability to replace implementation, all methods should be virtual (to override it in descendant class). Or some ICloner interface should be extracted.
This class is really helper for testing and replacing implementations. But you are absolutely right, without an interface it makes no sense. For some reason, I forgot to add it, sorry.
@force-net hi! 4 years have passed, I think it's time to merge pr, if everything is ok =)
Sorry for delay. I'll try to find time to do this on new year's holidays.