PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Caching.​Implementation Namespace/Cache­Item Class/Cache­Item Operators/Cache­Item.​Equality Operator

CacheItem.Equality Operator

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

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.6.12.0 (6.6.12.0)
Syntax
C#
public static bool operator ==(
	CacheItem first,
	CacheItem second
)

Parameters

first
Type: PostSharp.Patterns.Caching.Implementation.CacheItem
A CacheItem.
second
Type: PostSharp.Patterns.Caching.Implementation.CacheItem
A CacheItem.

Return Value

Type: Boolean
true if first equals second, otherwise false.
See Also