/// <summary> /// Switch to another environment and private label, /// the new private label in the new environment /// has the same name with that of the current environment /// </summary> /// <param name="environment"></param> public void ReloadEnvironment(Environment environment) { this.LoadEnvironmentAndAccountConfiguration(environment.ToString(), this.AccountConfiguration.Name); }
/// <summary> /// Reload all configuration according to specified environment and private-label /// </summary> /// <param name="environment"></param> /// <param name="accountType"></param> public void ReloadAllConfiguration(Environment environment, AccountEnum accountType) { this.ReloadAllConfiguration(environment.ToString(), accountType.ToString()); }