Difference between revisions of "HowTo:Create UBIK Plugin"
m |
m |
||
Line 2: | Line 2: | ||
= Introduction = | = Introduction = | ||
− | == Basic Prerequisites == | + | === Basic Prerequisites === |
Creating a own plugin requires to add references to | Creating a own plugin requires to add references to | ||
* System.ComponentModel.Composition | * System.ComponentModel.Composition | ||
Line 9: | Line 9: | ||
{{UBIK}} Injection Management provides access to all the basic features used by the Kernel to identifiy and categorize the available plugins. This management is provided by a library called '''UBIK.Injection'''. | {{UBIK}} Injection Management provides access to all the basic features used by the Kernel to identifiy and categorize the available plugins. This management is provided by a library called '''UBIK.Injection'''. | ||
− | == Interface: IUbikPlugin == | + | === Interface: IUbikPlugin === |
The plugin must implement the '''UBIK.Injection.IUbikPlugin''' interface and has to be registered for MEF composition by defining the export contract via an attribute. | The plugin must implement the '''UBIK.Injection.IUbikPlugin''' interface and has to be registered for MEF composition by defining the export contract via an attribute. | ||
<source lang="csharp"> | <source lang="csharp"> | ||
Line 19: | Line 19: | ||
</source> | </source> | ||
− | == Interface: IUbikInjectionMetaData == | + | === Interface: IUbikInjectionMetaData === |
Managing plugins correctly presumes the following information, as defined by the interface '''UBIK.Injection.IUbikInjectionMetaData'''. | Managing plugins correctly presumes the following information, as defined by the interface '''UBIK.Injection.IUbikInjectionMetaData'''. | ||
Line 31: | Line 31: | ||
</source> | </source> | ||
− | === Mandatory information === | + | ==== Mandatory information ==== |
{| class="wikitable" | width = "100%" | {| class="wikitable" | width = "100%" | ||
|- | |- | ||
Line 42: | Line 42: | ||
|} | |} | ||
− | === Optional information === | + | ==== Optional information ==== |
{| class="wikitable" | width = "100%" | {| class="wikitable" | width = "100%" | ||
|- | |- |
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).