/Utilities/Collections/ICloneable.cs
C# | 17 lines | 9 code | 0 blank | 8 comment | 0 complexity | baeb33a429911486b01bdb3bef4990aa MD5 | raw file
Possible License(s): Apache-2.0
- namespace Delta.Utilities.Collections
- {
- /// <summary>
- /// Generic interface for cloning objects. We put this in the System
- /// namespace to make sure it is always loaded.
- /// </summary>
- /// <typeparam name="T">Data type</typeparam>
- public interface ICloneable<T>
- {
- #region Clone (Public)
- /// <summary>
- /// Clones the object.
- /// </summary>
- T Clone();
- #endregion
- }
- }