Class ExampleModule
- Namespace
- Shard.Examples.ExampleModule
- Assembly
- Shard.Examples.ExampleModule.dll
public class ExampleModule : BaseModule, IModule
- Inheritance
-
ExampleModule
- Implements
- Inherited Members
Properties
Manifest
Gets the module's identity and dependency declaration.
public override ModuleManifest Manifest { get; }
Property Value
Methods
OnSetup()
Called during synchronous module setup after the module context has been assigned.
protected override void OnSetup()
OnShutdown()
Called in reverse load order after quiescence. This hook is skipped if setup does not complete; use IDisposable for cleanup required on every ownership path.
protected override void OnShutdown()
OnStart()
Called after preload and required dependencies start. The ready event is published after all eligible start hooks and failed or blocked module cleanup finish.
protected override void OnStart()