Class CacheChangedEventArgs
Arguments used for Cache
Inheritance
System.Object
CacheChangedEventArgs
Namespace: EPiServer.Data.Cache
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public class CacheChangedEventArgs : EventArgs
Constructors
CacheChangedEventArgs()
Initializes a new instance of the Cache
Declaration
public CacheChangedEventArgs()
CacheChangedEventArgs(TypeOfEventAction, ICollection<String>)
Initializes a new instance of the Cache
Declaration
public CacheChangedEventArgs(TypeOfEventAction typeOfEventAction, ICollection<string> items)
Parameters
Type | Name | Description |
---|---|---|
Type |
typeOfEventAction | The type of event action. |
System. |
items | The items related to the action |
Properties
ItemsToProcess
Gets or sets the items to process
Declaration
public string[] ItemsToProcess { get; set; }
Property Value
Type | Description |
---|---|
System. |
The item to process. |
TypeOfEventAction
Gets or sets the type of event action.
Declaration
public TypeOfEventAction TypeOfEventAction { get; set; }
Property Value
Type | Description |
---|---|
Type |
The type of event action. |
Methods
Deserialize(String)
Deserializes a string to Cache
Declaration
public static CacheChangedEventArgs Deserialize(string data)
Parameters
Type | Name | Description |
---|---|---|
System. |
data | The string to deserialize |
Returns
Type | Description |
---|---|
Cache |
A deserialized item |
Serialize(CacheChangedEventArgs)
Serializes a Cache
Declaration
public static string Serialize(CacheChangedEventArgs item)
Parameters
Type | Name | Description |
---|---|---|
Cache |
item | The item to serialize |
Returns
Type | Description |
---|---|
System. |
A serialized item |