Table of Contents

Interface ICloneStrategy<T>

Namespace
MudBlazor.Utilities.Clone
Assembly
MudBlazor.dll

Represents an interface for resolving deep copy operations for objects of type T.

public interface ICloneStrategy<T>

Type Parameters

T

The type of the object to be deep-copied.

Extension Methods

Remarks

Please ensure that it implements deep copy logic for all nested objects, not just shallow copies.

Methods

CloneObject(T)

Clones the specified object of type T.

T? CloneObject(T item)

Parameters

item T

The object to clone.

Returns

T

A deep copy of the object.