Class ModelRepositoryEventArgs
Provides data for an event raised from a model repository.
Inheritance
System.Object
ModelRepositoryEventArgs
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
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 |