Closed itadapter closed 6 years ago
/// <summary>
/// Describes module implementation
/// </summary>
public interface IModuleImplementation : IModule, IDisposable, IConfigurable, IInstrumentable
{
/// <summary>
/// Called by the application container after all services have initialized.
/// An implementation is expected to notify all subordinate (child) modules.
/// The call is used to perform initialization tasks such as inter-service dependency fixups,
/// initial data loads (e.g. initial cache fetch etc..) after everything has loaded in the application container.
/// The implementation is expected to handle internal exceptions gracefully (i.e. use log etc.)
/// </summary>
void ApplicationAfterInit(IApplication application);
/// <summary>
/// Called by the application container before services shutdown.
/// An implementation is expected to notify all subordinate (child) modules.
/// The call is used to perform finalization tasks such as inter-service dependency cleanups,
/// buffer flushes etc. before the application container starts to shutdown.
/// The implementation is expected to handle internal exceptions gracefully (i.e. use log etc.)
/// </summary>
void ApplicationBeforeCleanup(IApplication application);
......
Done in 688ce192720cbaf29f174599c3ddf37b6155d234