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

    Class CacheClearRegionEventArgs

    Event arguments for clear region events.

    Inheritance
    Object
    EventArgs
    CacheClearRegionEventArgs
    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 CacheClearRegionEventArgs : EventArgs

    Constructors

    | Improve this Doc View Source

    CacheClearRegionEventArgs(String, CacheActionEventArgOrigin)

    Initializes a new instance of the CacheClearRegionEventArgs class.

    Declaration
    public CacheClearRegionEventArgs(string region, CacheActionEventArgOrigin origin = CacheActionEventArgOrigin.Local)
    Parameters
    Type Name Description
    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 region is null.

    Properties

    | 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