Raises all handlers for a registered event
(as indicated by the TEvent type).
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only Event Collection
Syntax
Task<bool> RaiseAsync<TEvent>(TEvent evt)
Type Parameters
Name | Description |
---|---|
TEvent | The type of event to raise an event for. |
Parameters
Name | Type | Description |
---|---|---|
evt | TEvent | The event instance. |
Return Value
Type | Description |
---|---|
Task |
true if registered handlers were found, false otherwise. |