//----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Interop { /// /// Interface for objects that can have their contents compared against /// each other. This should be used for equality comparisons on mutable /// reference objects where overriding Equals() and GetHashCode() isn't a /// good idea. /// /// The type of objects to comapre. public interface IContentEquatable { /// /// Returns a value indicating whether this instance is equal /// to another instance. /// /// An instance to compare with this instance. /// True if the two instances are equal. bool ContentEquals(T other); } }