标签:manager 方法 pre col key val tin settings pps
private bool UseTest() { if (ConfigurationManager.AppSettings.AllKeys.Contains("usestructureTest") == false) return false; if (Convert.ToInt32(ConfigurationManager.AppSettings["usestructureTest"]) <= 0) return false; return true; }
Webconfig下:
<appSettings > <add key="usestructureTest" value="1"/> </appSettings>
标签:manager 方法 pre col key val tin settings pps
原文地址:https://www.cnblogs.com/hansonlee/p/8758726.html