Skip to content
Oliver Ehrenmüller edited this page Apr 7, 2019 · 27 revisions
  • Mark a class with AddDeepCopyConstructor-Attribute to create a deep copy constructor.
  • Mark a static method with DeepCopyExtension-Attribute to create a nullable deep copy method that supports inheritance.
  • Mark an existing copy constructor with InjectDeepCopy to insert deep copy instructions before your code.
  • Mark a property with IgnoreDuringDeepCopy to skip this property.
  • Fields are not supported. DeepCopy.Fody creates copy instructions for properties only.

Clone this wiki locally