Interface ICloneable<T>
Extension of the ICloneable interface that provides a strongly typed method and a default implementation of it.
Namespace: TheXDS.MCART.Types.Base
Assembly: MCART.dll
Syntax
public interface ICloneable<out T> : ICloneable where T : notnull, new()
Type Parameters
Name | Description |
---|---|
T | Type of object resulting from cloning. Typically, but not necessarily, it is the same type that implements this interface. If the type is not the same as th implementing type, it must implement the specified type. |
Methods
| Edit this page View SourceClone()
Creates a copy of this instance.
Declaration
T Clone()
Returns
Type | Description |
---|---|
T | A copy of this instance of type |