Interface ICacheItemProperties
Contract which exposes only the properties of the CacheItem<T> without T value.
Namespace:CacheManager.Core.Internal
Assembly:CacheManager.Core.dll
Syntax
public interface ICacheItemProperties
Properties
| Improve this Doc View SourceCreatedUtc
Gets the creation date of the cache item.
Declaration
DateTime CreatedUtc { get; }
Property Value
Type | Description |
---|---|
DateTime | The creation date. |
ExpirationMode
Gets the expiration mode.
Declaration
ExpirationMode ExpirationMode { get; }
Property Value
Type | Description |
---|---|
ExpirationMode | The expiration mode. |
ExpirationTimeout
Gets the expiration timeout.
Declaration
TimeSpan ExpirationTimeout { get; }
Property Value
Type | Description |
---|---|
TimeSpan | The expiration timeout. |
Key
Gets the cache key.
Declaration
string Key { get; }
Property Value
Type | Description |
---|---|
String | The cache key. |
LastAccessedUtc
Gets or sets the last accessed date of the cache item.
Declaration
DateTime LastAccessedUtc { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The last accessed date. |
Region
Gets the cache region.
Declaration
string Region { get; }
Property Value
Type | Description |
---|---|
String | The cache region. |
UsesExpirationDefaults
Gets a value indicating whether the cache item uses the cache handle's configured expiration.
Declaration
bool UsesExpirationDefaults { get; }
Property Value
Type | Description |
---|---|
Boolean |
ValueType
Gets the type of the cache value.
This might be used for serialization and deserialization.
Declaration
Type ValueType { get; }
Property Value
Type | Description |
---|---|
Type | The type of the cache value. |