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

    Enum ExpirationMode

    Defines the supported expiration modes for cache items.

    Value None will indicate that no expiration should be set.

    Namespace:CacheManager.Core
    Assembly:CacheManager.Core.dll
    Syntax
    public enum ExpirationMode

    Fields

    Name Description
    Absolute

    Defines absolute expiration. The item will expire after the expiration timeout.

    Default

    Default value for the expircation mode enum. CacheManager will default to None. The

    Default
    entry in the enum is used as separation from the other values and to make it possible to explicitly set the expiration to None.

    None

    Defines no expiration.

    Sliding

    Defines sliding expiration. The expiration timeout will be refreshed on every access.

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