Class ScyllaModuleStartedEvent
Published once for each module as it transitions into Enabled - that is, immediately after the module manager calls EnableModule() at the end of its start sequence.
Inherited Members
Namespace: Scylla.Core.Events
Assembly: ScyllaCore.dll
Syntax
public sealed class ScyllaModuleStartedEvent : ScyllaEvent
Remarks
Unlike ScyllaFrameworkInitializedEvent, which fires exactly once after the entire boot batch completes, this event fires per-module and also covers late-registered modules (DLC, plugins, runtime-loaded assemblies) as they come online after initial boot.
Typical use cases:
- Reacting to a soft-dependency becoming available (e.g., enabling cloud-sync behaviour only once an optional analytics module starts).
- DLC / plugin code responding to its host module activating at runtime.
- Diagnostic tooling such as boot-time profilers that timestamp each module as it reaches Enabled.
Subscribers should filter by ModuleID to respond only to the modules they care about. Use the constants on ScyllaModuleID for compile-time-safe ID comparisons.
Constructors
ScyllaModuleStartedEvent(string)
Initializes a new ScyllaModuleStartedEvent for the module
identified by moduleID.
Declaration
public ScyllaModuleStartedEvent(string moduleID)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleID | The unique ID of the module that has just reached Enabled. Must be non-null and non-empty. |
Properties
ModuleID
Gets the unique ID of the module that just transitioned into Enabled.
Declaration
public string ModuleID { get; }
Property Value
| Type | Description |
|---|---|
| string | The ID of the module as registered with the module manager. Matches the constants in ScyllaModuleID for built-in modules. |