Raises all handlers for a registered event
(as indicated by the TEvent type).
- Namespace
- Statiq
.Testing - Containing Type
- TestEventCollection
- Implements
-
- I
Read .RaiseAsyncOnly Event Collection <TEvent> (TEvent)
- I
Syntax
public 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. |