/// <summary> /// </summary> protected override void OnModuleStop() { if (_sitemapService is IComponent component) { component.Stop(); } _sitemapService = null; }
/// <summary> /// </summary> protected override void OnModuleStart() { _sitemapService = new SitemapGeneration(); ((IComponentStartable)_sitemapService).Start(AppCore); }