Class RepositoryEventArgs
Provides data for an event raised from a repository.
Inheritance
System.Object
RepositoryEventArgs
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class RepositoryEventArgs : EventArgs
Constructors
RepositoryEventArgs(Int32, RepositoryEventType)
Initializes a new instance of the RepositoryEventArgs class.
Declaration
public RepositoryEventArgs(int id, RepositoryEventType eventType)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The id of the item affected by the event. |
RepositoryEventType | eventType | Type of the event that is being raised. |
Properties
EventType
Gets the type of the event that was raised.
Declaration
public RepositoryEventType EventType { get; }
Property Value
Type | Description |
---|---|
RepositoryEventType | The type of the event. |
ID
Gets the ID of the item affected by the repository event.
Declaration
public int ID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |