IReadOnlyEventCollection Interface
Contains global events and event handlers.
Namespace
Statiq.Common
Implementing Types
graph BT Type["IReadOnlyEventCollection"] class Type type-node Implementing0["IEventCollection"]-.->Type click Implementing0 "/api/Statiq.Common/IEventCollection" Implementing1["TestEventCollection"]-.->Type click Implementing1 "/api/Statiq.Testing/TestEventCollection"

Syntax

public interface IReadOnlyEventCollection

Methods

Name Return Value Summary
RaiseAsync<TEvent>(TEvent) Task<bool>
Raises all handlers for a registered event (as indicated by the TEvent type).

Extension Methods