16 lines
390 B
C#
16 lines
390 B
C#
using System;
|
|
|
|
namespace JD.Kernel.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Generic version of the <see cref="ICloneable"/> interface.
|
|
/// </summary>
|
|
public interface ICloneable<T>
|
|
{
|
|
/// <summary>
|
|
/// Clones the current object.
|
|
/// </summary>
|
|
/// <returns>A new object, with the same properties than the first.</returns>
|
|
T Clone();
|
|
}
|
|
}
|