Class ModelRepositoryEventArgs
Provides data for an event raised from a model repository.
Inheritance
System.Object
System.EventArgs
ModelRepositoryEventArgs
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: 9.12.2Syntax
public class ModelRepositoryEventArgs : EventArgs
Constructors
ModelRepositoryEventArgs(Type, RepositoryEventType)
Initializes a new instance of the RepositoryEventArgs class.
Declaration
public ModelRepositoryEventArgs(Type type, RepositoryEventType eventType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
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. |
ModelType
Gets the ID of the item affected by the repository event.
Declaration
public Type ModelType { get; }
Property Value
Type | Description |
---|---|
System.Type |