private object LoadComponentConfig(Type configType) { try { var config = _fileSystemManager.LoadFile( $"{_config.Components.ConfigDirectory}{Path.DirectorySeparatorChar}{configType.Name}.json", configType); return(config); } catch (Exception ex) { _logger.LogError($"Error during load config {configType.Name} => {ex}"); return(null); } }