Class CacheClearEventArgs
Event arguments for cache clear events.
Inherited Members
Namespace:CacheManager.Core.Internal
Assembly:CacheManager.Core.dll
Syntax
public sealed class CacheClearEventArgs : EventArgs
Constructors
| Improve this Doc View SourceCacheClearEventArgs(CacheActionEventArgOrigin)
Initializes a new instance of the CacheClearEventArgs class.
Declaration
public CacheClearEventArgs(CacheActionEventArgOrigin origin = CacheActionEventArgOrigin.Local)
Parameters
| Type | Name | Description |
|---|---|---|
| CacheActionEventArgOrigin | origin | The origin the event ocured. If remote, the event got triggered by the backplane and was not actually excecuted locally. |
Properties
| Improve this Doc View SourceOrigin
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 |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |