CacheItem Class |
Represents an item being added to the cache.

Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 5.0.55.0 (5.0.55.0)

C#
public sealed class CacheItem : IEquatable<CacheItem>
The CacheItem type exposes the following members.

Name | Description | |
---|---|---|
![]() | CacheItem |
Initializes a new CacheItem.
|

Name | Description | |
---|---|---|
![]() | Configuration |
Gets the CacheItemConfiguration for the current item,
or null to use the default configuration.
|
![]() | Dependencies |
Gets the list of dependencies of the current item, or null
if there is no dependency.
|
![]() | Value |
Gets the value to be cached (null is a valid value).
|

Name | Description | |
---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).) |
![]() | Equals(CacheItem) |
Determines whether the current CacheItem is structurally equal to another CacheItem.
|
![]() | GetHashCode | Serves as the default hash function. (Overrides Object.GetHashCode().) |

Name | Description | |
---|---|---|
![]() ![]() | Equality |
Determines whether two instances of the CacheItem class are structurally equal.
|
![]() ![]() | Inequality |
Determines whether two instances of the CacheItem class are structurally different.
|

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
