随笔 - 730  文章 - 40 评论 - 17 阅读 - 67万

摘要: Type t=Type.GetType(pluginName);//反射 得到类型 if(t == null) { 系统缺少插件! return; } try { plugObject = Activator.CreateInstance(t);//创建实体 } catch(Exception e) 阅读全文
posted @ 2021-05-29 11:07 lypzxy 阅读(77) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示