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

    Class CacheActionEventArgs

    Event arguments for cache actions.

    Inheritance
    Object
    EventArgs
    CacheActionEventArgs
    Inherited Members
    EventArgs.Empty
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:CacheManager.Core.Internal
    Assembly:CacheManager.Core.dll
    Syntax
    public sealed class CacheActionEventArgs : EventArgs

    Constructors

    | Improve this Doc View Source

    CacheActionEventArgs(String, String)

    Initializes a new instance of the CacheActionEventArgs class.

    Declaration
    public CacheActionEventArgs(string key, string region)
    Parameters
    Type Name Description
    String key

    The key.

    String region

    The region.

    Exceptions
    Type Condition
    ArgumentNullException

    If key is null.

    | Improve this Doc View Source

    CacheActionEventArgs(String, String, CacheActionEventArgOrigin)

    Initializes a new instance of the CacheActionEventArgs class.

    Declaration
    public CacheActionEventArgs(string key, string region, CacheActionEventArgOrigin origin)
    Parameters
    Type Name Description
    String key

    The key.

    String region

    The region.

    CacheActionEventArgOrigin origin

    The origin the event ocured. If remote, the event got triggered by the backplane and was not actually excecuted locally.

    Exceptions
    Type Condition
    ArgumentNullException

    If key is null.

    Properties

    | Improve this Doc View Source

    Key

    Gets the key.

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

    The key.

    | Improve this Doc View Source

    Origin

    Gets the event origin indicating if the event was triggered by a local action or remotly, through the backplane.

    Declaration
    public CacheActionEventArgOrigin Origin { get; }
    Property Value
    Type Description
    CacheActionEventArgOrigin
    | Improve this Doc View Source

    Region

    Gets the region.

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

    The region.

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net