ShopToolsUtilDeepCloneT Method

Create a complete, recursive deep clone of the provided object.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static T DeepClone<T>(
	T source
)

Parameters

source  T
Reference to the source object to be cloned.

Type Parameters

T
The type to be cloned.

Return Value

T
Reference to the newly cloned object, where all values have been duplicated on a primitive level.

See Also