Class EventBridge.DeathEvent<TEvent>
Generic record base for strongly typed death events.
public record EventBridge.DeathEvent<TEvent> : Event<TEvent>, IEquatable<Event>, IEquatable<Event<TEvent>>, EventBridge.IDeathEvent, IEvent, IEquatable<EventBridge.DeathEvent<TEvent>> where TEvent : IEvent
Type Parameters
TEvent
- Inheritance
-
Event<TEvent>EventBridge.DeathEvent<TEvent>
- Implements
-
IEquatable<Event<TEvent>>
- Derived
- Inherited Members
- Extension Methods
Constructors
DeathEvent(Entity, Entity, DeathEvent)
Generic record base for strongly typed death events.
public DeathEvent(Entity SourceEntity, Entity TargetEntity, DeathEvent NativeEvent)
Parameters
SourceEntityEntityTargetEntityEntityNativeEventDeathEvent
Properties
NativeEvent
public DeathEvent NativeEvent { get; init; }
Property Value
- DeathEvent
SourceEntity
public Entity SourceEntity { get; init; }
Property Value
- Entity
TargetEntity
public Entity TargetEntity { get; init; }
Property Value
- Entity