Example #1
0
 public static string GetConfiguration(string name)
 {
     Plusal.Shared.Configuration configuration = new Plusal.Shared.Configuration(Enumeration.ConfigurationElement.AppSettings);
     return(configuration.Get(name));
 }
Example #2
0
 /// <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);
 }