2011-04-06 04:43:54 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
2011-06-29 02:58:34 +00:00
|
|
|
|
namespace Substrate.Core
|
2011-04-06 04:43:54 +00:00
|
|
|
|
{
|
2011-07-24 18:47:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides a virtual deep copy capability to implementors.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="T"></typeparam>
|
2011-04-06 04:43:54 +00:00
|
|
|
|
public interface ICopyable <T>
|
|
|
|
|
{
|
2011-07-24 18:47:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Performs a virtual deep copy of the object instance.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>An independent copy of the object instance.</returns>
|
2011-04-06 04:43:54 +00:00
|
|
|
|
T Copy ();
|
|
|
|
|
}
|
|
|
|
|
}
|