+
+ if (hostInitConfigurationParams.Length > 1 &&
+ hostInitConfigurationParams [1] is ConfigurationUserLevel)
+ level = (ConfigurationUserLevel) hostInitConfigurationParams [1];
+ if (locationSubPath == null)
+ switch (level) {
+ case ConfigurationUserLevel.PerUserRoaming:
+ if (map.RoamingUserConfigFilename == null)
+ throw new ArgumentException ("RoamingUserConfigFilename must be set correctly");
+ locationSubPath = "roaming";
+ break;
+ case ConfigurationUserLevel.PerUserRoamingAndLocal:
+ if (map.LocalUserConfigFilename == null)
+ throw new ArgumentException ("LocalUserConfigFilename must be set correctly");
+ locationSubPath = "local";
+ break;
+ }
+