Table of Contents

Class ObjectCloner

Namespace
JJMasterData.Commons.Util
Assembly
JJMasterData.Commons.dll
public static class ObjectCloner
Inheritance
ObjectCloner
Inherited Members

Methods

DeepCopy<T>(T)

Creates a deep copy of the object, removing the original reference.

public static T DeepCopy<T>(T source)

Parameters

source T

The object to be deep copied.

Returns

T

A new instance of the object with no reference to the original.

Type Parameters

T

The type of the object.