• CacheManager
  • Documentation
  • Api Docs
  • MichaCo.net
    Show / Hide Table of Contents

    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 Source

    CreatedUtc

    Gets the creation date of the cache item.

    Declaration
    DateTime CreatedUtc { get; }
    Property Value
    Type Description
    DateTime

    The creation date.

    | Improve this Doc View Source

    ExpirationMode

    Gets the expiration mode.

    Declaration
    ExpirationMode ExpirationMode { get; }
    Property Value
    Type Description
    ExpirationMode

    The expiration mode.

    | Improve this Doc View Source

    ExpirationTimeout

    Gets the expiration timeout.

    Declaration
    TimeSpan ExpirationTimeout { get; }
    Property Value
    Type Description
    TimeSpan

    The expiration timeout.

    | Improve this Doc View Source

    Key

    Gets the cache key.

    Declaration
    string Key { get; }
    Property Value
    Type Description
    String

    The cache key.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    Region

    Gets the cache region.

    Declaration
    string Region { get; }
    Property Value
    Type Description
    String

    The cache region.

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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.

    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net