- Namespace
- Statiq
.Testing - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IEventCollection"]
click Interface0 "/api/Statiq.Common/IEventCollection"
Type-.->Interface1["IReadOnlyEventCollection"]
click Interface1 "/api/Statiq.Common/IReadOnlyEventCollection"
Type["TestEventCollection"]
class Type type-node
Syntax
public class TestEventCollection : IEventCollection, IReadOnlyEventCollection
Methods
Name | Return Value | Summary |
---|---|---|
RaiseAsync |
Task |
Raises all handlers for a registered event
(as indicated by the TEvent type).
|
Subscribe |
void |
Subscribes a new handler for the given TEvent type.
|