Table of Contents

Interface ICloneable<T>

Namespace
Garyon.Objects
Assembly
Garyon.dll

Denotes that an object is cloneable into a target type, usually itself.

public interface ICloneable<T> : ICloneable where T : notnull

Type Parameters

T

The type of the cloned object. Usually it's the type itself that implements this interface.

Extension Methods

Methods

Clone()

Clones this instance into a new object and returns the cloned object.

T Clone()

Returns

T

The cloned object.