检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西南石油大学计算机科学学院,四川新都610500
出 处:《计算机光盘软件与应用》2011年第21期167-168,共2页Computer CD Software and Application
摘 要:基于插件技术的软件架构将软件分为宿主程序、插件和接口三个部分,宿主程序和插件通过接口契约进行通信,通过新增插件以及扩展原有插件的方法来实现软件功能的扩展及修改。本文以.NET为开发平台,研究了如何使用动态加载程序集、反射、晚期绑定这几种反射机制的核心方法进行插件加载、动态发现和使用插件中的类型及方法并且实例化插件,为构建一种可以灵活扩展的应用程序提供了解决思路。According to the software framework of plug-in technology, soft-ware can be divided into three parts:host program,plug-in and interface,Host program and plug-in communicate by interface contracts,with the new plug-in and the expanded original plug-in,the expansion and modification of software function can be accomplished.Based on.NET development platform,this paper researches how to use dynamic loading assembly, reflection and late binding this three core methods of reflection mechanism to do plug-in loading,dynamic discovery, plug-in using and instantiation,provides a solution to construct a kind of application program which can expand flexibly.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30