public static string GetConfiguration(string name) { Plusal.Shared.Configuration configuration = new Plusal.Shared.Configuration(Enumeration.ConfigurationElement.AppSettings); return(configuration.Get(name)); }
/// <summary> /// 获取配置参数的值 /// </summary> /// <param name="name">参数名称</param> /// <returns></returns> public static string GetConfiguration(string name) { Plusal.Shared.Configuration configuration = new Plusal.Shared.Configuration(Enumeration.ConfigurationElement.AppSettings); return configuration.Get(name); }