IEventExtensions.Consume
Consume<T>(T)
Stops the event from propagating further up the UIBlock hierarchy.
Remarks
Any remaining event handlers registered at the current propagation level which have yet to be called with the given evt
data, will still be called after an event has been consumed.
Declaration
public static void Consume<T>(this T evt)
where T : struct, IEvent
Parameters
Type | Name | Description |
---|---|---|
T | evt | The event instance being consumed, identified by its event ID. |
Type Parameters
Name | Description |
---|---|
T | The type of event being consumed. |