Difference between revisions of "HowTo:Create UBIK Plugin"
m |
m |
||
Line 11: | Line 11: | ||
=== Interface: IUbikPlugin === | === Interface: IUbikPlugin === | ||
− | The plugin must implement the | + | The plugin must implement the <code>UBIK.Injection.IUbikPlugin</code> interface and has to be registered for MEF composition by defining the export contract via an attribute. |
<source lang="csharp"> | <source lang="csharp"> | ||
[Export(typeof(UBIK.Injection.IUbikPlugin))] | [Export(typeof(UBIK.Injection.IUbikPlugin))] | ||
Line 21: | Line 21: | ||
=== Interface: IUbikInjectionMetaData === | === Interface: IUbikInjectionMetaData === | ||
− | Managing plugins correctly presumes the following information, as defined by the interface | + | Managing plugins correctly presumes the following information, as defined by the interface <code>UBIK.Injection.IUbikInjectionMetaData</code>. |
<source lang="csharp"> | <source lang="csharp"> |
Revision as of 11:43, 3 August 2016
UBIK® Plugins are loaded dynamically into the UBIK® Kernel by the UBIK® Injection Management based on the Microsoft Extensibility Framework (MEF).