Class ObjectExtensions
Useful extension methods for Object.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: IRM
Assembly: IRM.dll
Syntax
public static class ObjectExtensions
Methods
DeepClone<T>(T)
Makes a deep clone of the object and all child objects.
Declaration
public static T DeepClone<T>(this T obj)
where T : class
Parameters
T
obj
The object that should be cloned. |
Returns
T
Returns an exact clone of |
Type Parameters
T
The type of object to clone. |