PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCache­ItemEquals
Open sandboxFocus

CacheItem.Equals Method

Equals(Object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj

The object to compare with the current object.

Returns
Type Description
System.Boolean

true if the specified object is equal to the current object; otherwise, false.

Equals(CacheItem)

Determines whether the current CacheItem is structurally equal to another CacheItem.

Declaration
public bool Equals(CacheItem other)
Parameters
Type Name Description
CacheItem other

A CacheItem.

Returns
Type Description
System.Boolean

true both items are equal, otherwise false.