mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-07-11 03:03:10 +00:00
Add the package ManagedEsent (microsoft/ManagedEsent@d358c07), and WelsonJS.Esent
22 lines
788 B
C#
22 lines
788 B
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="IDeepCloneable.cs" company="Microsoft Corporation">
|
|
// Copyright (c) Microsoft Corporation.
|
|
// </copyright>
|
|
//-----------------------------------------------------------------------
|
|
|
|
namespace Microsoft.Isam.Esent.Interop
|
|
{
|
|
/// <summary>
|
|
/// Interface for objects that can be cloned. This creates a deep copy of
|
|
/// the object. It is used for cloning meta-data objects.
|
|
/// </summary>
|
|
/// <typeparam name="T">The type of object.</typeparam>
|
|
public interface IDeepCloneable<T>
|
|
{
|
|
/// <summary>
|
|
/// Returns a deep copy of the object.
|
|
/// </summary>
|
|
/// <returns>A deep copy of the object.</returns>
|
|
T DeepClone();
|
|
}
|
|
} |