Difference between revisions of "HowTo:Create UBIK Module"
m |
m (→Interface: IUbikModule) |
||
Line 12: | Line 12: | ||
The module must implement the <code>UBIK.Injection.IUbikModule</code> interface and has to be registered for MEF composition by defining the export contract via an attribute. | The module must implement the <code>UBIK.Injection.IUbikModule</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. | + | [Export(typeof(UBIK.Injection.IUbikPlugin))] |
public class TestModule : UBIK.Injection.IUbikModule | public class TestModule : UBIK.Injection.IUbikModule | ||
{ | { | ||
+ | // Interface implementation... | ||
} | } | ||
</source> | </source> | ||
+ | |||
+ | [[Category:Injecting|Create UBIK Module]] | ||
=== Interface: IUbikInjectionMetaData === | === Interface: IUbikInjectionMetaData === |
Revision as of 14:18, 20 August 2024
UBIK® Modules are loaded dynamically into the UBIK® Kernel by the UBIK® Injection Management based on the Microsoft Extensibility Framework (MEF).