Class CloneHelper
Provides helper methods for performing cloning operations on objects that implement the ICloneable interface.
public static class CloneHelper
- Inheritance
-
CloneHelper
- Inherited Members
Methods
TypedClone<T>(T)
Creates a clone of the specified object.
public static T TypedClone<T>(this T value) where T : ICloneable
Parameters
valueTThe object to clone.
Returns
- T
A cloned instance of the object.
Type Parameters
TA type that implements ICloneable.