コード例 #1
0
        public SimSettingAdapter(string userConfigPath)
        {
            string execPath   = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
            string configPath = Path.Combine(execPath, "Config");

            _simSettingsLoader = new SimSettingsLoader(configPath, userConfigPath);
        }
コード例 #2
0
 public SimSettingAdapter(string baseConfigPath, string userConfigPath)
 {
     _simSettingsLoader = new SimSettingsLoader(baseConfigPath, userConfigPath);
 }
コード例 #3
0
 public CarSpecificationProvider(ISettingsProvider settingsProvider)
 {
     _cachedProperties  = new ConcurrentDictionary <string, DataSourceProperties>();
     _simSettingsLoader = new SimSettingsLoader(settingsProvider.CarSpecificationPath);
 }