摘要: //+ using System.Reflection; //+ using System.Reflection.Emit; static void Main(string[] args) { var dm = GetMethod(... 阅读全文
posted @ 2015-11-06 17:36 calochCN 阅读(381) 评论(0) 推荐(0) 编辑
摘要: System.Reflection.MethodInfo mInfo = typeof(TypeParse).GetMethod("Add", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Inst... 阅读全文
posted @ 2015-11-06 17:17 calochCN 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 1.app.config(note that attribute case sensitive!) 2.class (should impliment interface IConfigurationSectionHandler)us... 阅读全文
posted @ 2015-11-06 10:19 calochCN 阅读(269) 评论(0) 推荐(0) 编辑
摘要: public static void CreateAppSettings(){ // Get the application configuration file. System.Configuration.Configuration config = ConfigurationManag... 阅读全文
posted @ 2015-11-06 09:33 calochCN 阅读(295) 评论(0) 推荐(0) 编辑