RaiseAsync<TEvent>(TEvent) Method
Raises all handlers for a registered event (as indicated by the TEvent type).
Namespace
Statiq.Common
Containing Type
IReadOnlyEventCollection

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<bool> true if registered handlers were found, false otherwise.