November Happy Hour will be moved to Thursday December 5th.

Class RepositoryEventArgs

Provides data for an event raised from a repository.

Inheritance
System.Object
System.EventArgs
RepositoryEventArgs
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: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
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

Extension Methods