Class CacheClearRegionEventArgs
Event arguments for clear region events.
Inherited Members
Namespace:CacheManager.Core.Internal
Assembly:CacheManager.Core.dll
Syntax
public sealed class CacheClearRegionEventArgs : EventArgs
Constructors
| Improve this Doc View SourceCacheClearRegionEventArgs(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 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 |
Region
Gets the region.
Declaration
public string Region { get; }
Property Value
Type | Description |
---|---|
String | The region. |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |