IKernelEvents API Document
Summary description for IKernelEvents.
Events
ComponentRegistered:ComponentDataDelegate(String key, IHandler handler)
Event fired when a new component is registered on the kernel.
| Parameter | Description |
|---|---|
| key | Missing documentation |
| handler | Missing documentation |
ComponentUnregistered:ComponentDataDelegate(String key, IHandler handler)
Event fired when a component is removed from the kernel.
| Parameter | Description |
|---|---|
| key | Missing documentation |
| handler | Missing documentation |
ComponentModelCreated:ComponentModelDelegate(ComponentModel model)
Event fired after the ComponentModel is created. Allows customizations that may affect the handler.
| Parameter | Description |
|---|---|
| model | Missing documentation |
AddedAsChildKernel:System.EventHandler()
Event fired when the kernel was added as child of another kernel.
RemovedAsChildKernel:System.EventHandler()
Event fired when the kernel was removed from being a child of another kernel.
ComponentCreated:ComponentInstanceDelegate(ComponentModel model, Object instance)
Event fired before the component is created.
| Parameter | Description |
|---|---|
| model | Missing documentation |
| instance | Missing documentation |
ComponentDestroyed:ComponentInstanceDelegate(ComponentModel model, Object instance)
Event fired when a component instance destroyed.
| Parameter | Description |
|---|---|
| model | Missing documentation |
| instance | Missing documentation |
HandlerRegistered:HandlerDelegate(IHandler handler, Boolean stateChanged)
Event fired when a new handler is registered (it might be in a valid or waiting dependency state)
| Parameter | Description |
|---|---|
| handler | Missing documentation |
| stateChanged | Missing documentation |
DependencyResolving:DependencyDelegate(ComponentModel client, DependencyModel model, Object dependency)
Event fired when a dependency is being resolved, it allows the dependency to be changed, but the client ComponentModel must not be altered.
| Parameter | Description |
|---|---|
| client | Missing documentation |
| model | Missing documentation |
| dependency | Missing documentation |