Class CacheEventArgs
EventArg for CacheEventHub, CacheEventHub will get triggered when MediaItem's get deleted.
Inheritance
System.Object
System.EventArgs
CacheEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.DataAccess.Repositories
Assembly: ImageVault.Core.dll
Syntax
public class CacheEventArgs : EventArgs
Constructors
CacheEventArgs(CacheEventType, Object)
Initializes a new instance of the CacheEventArgs class.
Declaration
public CacheEventArgs(CacheEventType eventType, object arg)
Parameters
Type | Name | Description |
---|---|---|
CacheEventType | eventType | |
System.Object | arg |
Properties
Argument
Get/Sets the Argument of the CacheEventArgs
Declaration
public object Argument { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
EventType
Get/Sets the EventType of the CacheEventArgs
Declaration
public CacheEventType EventType { get; set; }
Property Value
Type | Description |
---|---|
CacheEventType |