public override void Shutdown(ApplicationShutdownContext context) { ShutdownCalled = true; }
/// <summary> /// /// </summary> /// <param name="context"></param> public virtual void Shutdown(ApplicationShutdownContext context) { }
public void ShutdownModules(ApplicationShutdownContext context) { var modules = _moduleContainer.Modules.Reverse().ToList(); modules.ForEach(d => d.Instance.Shutdown(context)); }