PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. namespace Delta.Utilities.Collections
  2. {
  3. /// <summary>
  4. /// Generic interface for cloning objects. We put this in the System
  5. /// namespace to make sure it is always loaded.
  6. /// </summary>
  7. /// <typeparam name="T">Data type</typeparam>
  8. public interface ICloneable<T>
  9. {
  10. #region Clone (Public)
  11. /// <summary>
  12. /// Clones the object.
  13. /// </summary>
  14. T Clone();
  15. #endregion
  16. }
  17. }