vb.net VB.NET中的DLL插件系统

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22445340/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-17 17:06:46  来源:igfitidea点击:

DLL Plugin system in VB.NET

vb.net

提问by Visual Magic

My question would be how it would be possible to make a plugin system in VB.net (2010) I'd want it to have the ability to work this way:

我的问题是如何在 VB.net (2010) 中制作插件系统我希望它能够以这种方式工作:

It would be a DLL File written in VB.Net
It could be loaded on startup (of the program) when placed in a specific folder (e.g. "\plugins\")
The DLL file would have the ability to read values from the base program, and run subroutines / functions. Basically full interaction with the program.


(I Know I probably have to write something big / hard for this but i'm all in it)