Open sandboxFocus

Class CacheItem

Represents an item being added to the cache.

Inheritance
CacheItem
Implements
Namespace: Metalama.Patterns.Caching.Implementation
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public record CacheItem : IEquatable<CacheItem>

Constructors

Name Description
CacheItem(CacheItem)
CacheItem(object?, ImmutableArray<string>, ICacheItemConfiguration?)

Properties

Name Description
Configuration
Dependencies
EqualityContract
Value

Methods

Name Description
Equals(CacheItem?)

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

Equals(object?)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
operator ==(CacheItem?, CacheItem?)
operator !=(CacheItem?, CacheItem?)