[Turn] imitation world Wind constructs its own C # version of the plug-in framework--WW plugin mechanism streamlined transformation

Source: Internet
Author: User

Long time did not write their own things, should have a good summary of it! A master said, "a problem should not be solved two times!" "In addition to a good brain, and then to adhere to the summary."

Recently need to make a system plug-in framework, I refer to the World Wind plug-in way to build a plug-in framework, you can refer to the "WorldWind Learning Series Five: plug-in loading process full analysis", the following to share with you.

  

When initializing, loading the first two plugins, you can dynamically load keyboarderloader, such as:

The plugin framework is a streamlined version of the WW plug-in framework, ideal for plug-in system development, and also to help you learn about WW's plugin loading mechanism.

The flaw is that event-driven plug-in communication is not implemented. I will continue to optimize the framework in the future.

Now shared plug-in framework source code is as follows: WW Plugin framework

Original link: Imitation World wind constructs its own C # version of the plug-in framework--WW plug-in mechanism streamlined transformation

I blog All the technical exploration results will be "non-trace Guest", "Sinan" and "blog garden" tripartite common all, original works such as to be reproduced, please indicate this blog statement.

[Turn] imitation world Wind constructs its own C # version of the plug-in framework--WW plugin mechanism streamlined transformation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.