Skip to content

Tutorial_10(en US)

MikiraSora edited this page Jan 4, 2024 · 1 revision

This application uses MEF as the plug-in framework, and then encapsulates it into an IoC global class to provide to users. Users can get the desired implementation for use through IoC.Get() and IoC.GetAll().

Plug-in packages are in folders. To load a plug-in, users need to insert the folder of this plug-in package into the Plugins folder in the root directory of the editor program. image

How to write a plug-in? You only need to write a C# class library, and then construct it according to the above folder when generating.

Clone this wiki locally