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

CacheItem.Equality Operator

Equality(CacheItem, CacheItem)

Determines whether two instances of the CacheItem class are structurally equal.

Declaration
public static bool operator ==(CacheItem first, CacheItem second)
Parameters
Type Name Description
CacheItem first

A CacheItem.

CacheItem second

A CacheItem.

Returns
Type Description
System.Boolean

true if first equals second, otherwise false.