public static SZKingdomConfiguration LoadConfiguration(string name) { SZKingdomConfiguration configuration = (SZKingdomConfiguration)ConfigurationManager.GetSection(name); return(configuration); }
public static SZKingdomConfiguration LoadConfiguration() { SZKingdomConfiguration configuration = (SZKingdomConfiguration)ConfigurationManager.GetSection("SZKingdomConfiguration1"); return(configuration); }