The following tables list the members exposed by ObjectCloner.
Name | Description | |
---|---|---|
ObjectCloner Constructor | Creates the cloner |
Name | Description | |
---|---|---|
Graph | Add or Remove instances from the object graph, by adding this.Graph[o] = o; the instance 'o' will not be duplicated. |
Name | Description | |
---|---|---|
Clear | Removes all instances from the object graph | |
Clone<T> | Public entry point to begin duplication of the object graph. | |
Dispose | Disposes of the instance and it's references to objects that have been duplicated |
Name | Description | |
---|---|---|
CloneDefault | Provides the default behavior for duplicating an object and recording the duplication into the graph. | |
CloneObject<T> | Internal duplicate an object graph |
Reference
ObjectCloner ClassCSharpTest.Net.Cloning Namespace