public SimSettingAdapter(string userConfigPath) { string execPath = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location); string configPath = Path.Combine(execPath, "Config"); _simSettingsLoader = new SimSettingsLoader(configPath, userConfigPath); }
public SimSettingAdapter(string baseConfigPath, string userConfigPath) { _simSettingsLoader = new SimSettingsLoader(baseConfigPath, userConfigPath); }
public CarSpecificationProvider(ISettingsProvider settingsProvider) { _cachedProperties = new ConcurrentDictionary <string, DataSourceProperties>(); _simSettingsLoader = new SimSettingsLoader(settingsProvider.CarSpecificationPath); }