Show / Hide Table of Contents

Class ObjectExtensions

Useful extension methods for Object.

Inheritance
Object
ObjectExtensions
Inherited Members
System.Object.ToString()
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
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 obj.

Type Parameters
T

The type of object to clone.

Back to top Generated by DocFX