![]() |
CSLA .NET 10.0.0
A home for your business logic
|
This class provides an implementation of a deep clone of a complete object graph. Objects are copied at the field level. More...
Public Member Functions | |
| ObjectCloner (ApplicationContext applicationContext) | |
| Creates an instance of the type. | |
| object? | Clone (object? obj) |
| Clones an object. | |
Static Public Member Functions | |
| static ObjectCloner | GetInstance (ApplicationContext applicationContext) |
| Gets an instance of ObjectCloner. | |
This class provides an implementation of a deep clone of a complete object graph. Objects are copied at the field level.
|
inline |
Creates an instance of the type.
| applicationContext |
| ArgumentNullException | applicationContext is null. |
|
inline |
Clones an object.
| obj | The object to clone. |
The object to be cloned must be serializable.
The serialization is performed using the formatter specified in ApplicationContext.
The default is to use the MobileFormatter.
|
inlinestatic |
Gets an instance of ObjectCloner.
| applicationContext |
| ArgumentNullException | applicationContext is null. |