Table of Contents

Class CloneHelper

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

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

value T

The object to clone.

Returns

T

A cloned instance of the object.

Type Parameters

T

A type that implements ICloneable.