replaysMike / AnyClone

A CSharp library that can deep clone any object using only reflection.
MIT License
47 stars 7 forks source link

Is it possible to clone properties with complex constructor? #12

Open kidmar opened 3 years ago

kidmar commented 3 years ago

How to clone a class that has a property of a type that only has a complex constructor? In Json.Net this is possible using the [JsonConstructor] attribute on the constructor that has to be used