CloneOptions Enumeration

Enum CloneOptions

Namespace:  Tortuga.Anchor.Metadata
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public enum CloneOptions
Public Enumeration CloneOptions

Members


Member nameDescription
None No optional behavior selected
BypassProperties The bypass properties by directly copying the property bag. Only applies to classes that inherit from AbstractModelBase or AbstractModelCollection
DeepClone Perform a deep clone on all properties.
UseIClonable Invoke IClonable.Clone() on any value that implements IClonable
UseClone Invoke a parameterless Clone() method on any value that has one. If both UseClone and UseIClonable are specified, UseIClonable takes precedence.
ReusePureObjects When using the ReusePureObjects flag, the Clone operation will skip objects that are marked with the Pure attribute. WARNING: The PureAttribute is not accessible unless the compiler constant CONTRACTS_FULL is defined.