Interface IEventDefinition
Represents an event definition that can be tracked and raised by an event dispatcher.
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public interface IEventDefinition
Properties
View SourceArgs
Gets the event arguments.
Declaration
object Args { get; }
Property Value
| Type | Description |
|---|---|
| object |
EventName
Gets the name of the event.
Declaration
string? EventName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Sender
Gets the source of the event.
Declaration
object Sender { get; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
View SourceRaiseEvent()
Raises the event by invoking the tracked event handler.
Declaration
void RaiseEvent()