This class provides an implementation of a deep clone of a complete object graph. More...
Public Member Functions | |
ObjectCloner (ApplicationContext applicationContext) | |
Creates an instance of the type. More... | |
object | Clone (object obj) |
Clones an object. More... | |
Static Public Member Functions | |
static ObjectCloner | GetInstance (ApplicationContext applicationContext) |
Gets an instance of ObjectCloner. More... | |
This class provides an implementation of a deep clone of a complete object graph.
Objects are copied at the field level.
Definition at line 19 of file ObjectCloner.cs.
Csla.Core.ObjectCloner.ObjectCloner | ( | ApplicationContext | applicationContext | ) |
Creates an instance of the type.
applicationContext |
Definition at line 27 of file ObjectCloner.cs.
object Csla.Core.ObjectCloner.Clone | ( | object | obj | ) |
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.
Definition at line 52 of file ObjectCloner.cs.
|
static |
Gets an instance of ObjectCloner.
applicationContext |
Definition at line 37 of file ObjectCloner.cs.