摘要: 1.得到当前应用程序的根目录 public static string GetBaseDirectory() { var baseDirectory = AppDomain.CurrentDomain.SetupInformation.PrivateBinPath; if (AppDomain.Cu 阅读全文
posted @ 2018-01-26 14:31 连先森 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 1.通过反射创建对象 方法1 public static IMessageReceiver CreateInstance(WeixinMessage weixinMessage) { IMessageReceiver result = null; MessageTypeAttribute messa 阅读全文
posted @ 2018-01-26 14:28 连先森 阅读(103) 评论(0) 推荐(0) 编辑