/// <summary> /// Стандартный конструктор. /// </summary> public Controller() { googleService = new GoogleRestService(); geoService = new GeographiService(); overpassService = new OverpassRestService(); parameters = Parameters.Instance; detectorsManager = new DetectorsManager(parameters.PluginsPath); dbContext = new PathFinderContext(); }
/// <summary> /// Перезагрузить менеджер плагинов /// </summary> public void ReloadDetectorManager() { detectorsManager = new DetectorsManager(parameters.PluginsPath); }