Jump to: navigation, search

Changes


HowTo:Create UBIK Plugin

433 bytes removed, 10:40, 19 March 2015
/* Interface: UBIK.Injection.IUbikPlugin */
== Interface: UBIK.Injection.IUbikPlugin ==
The plugin must implement the '''IUbikPlugin''' interface. Additionally, the plugin has to be registered for MEF composition by defining the export contract via the attributes.
<source lang="csharp">
[Export(typeof(UBIK.Injection.IUbikPlugin))]
[ExportMetadata("ID", "C149402E-BC86-46D6-8D1B-63C86894EA77")]
[ExportMetadata("Type", typeof(TestPlugin))]
[ExportMetadata("Name", "TestPlugin" )]
[ExportMetadata("Description", "Tests the injection management")]
[ExportMetadata("Version", 1)]
[ExportMetadata("Company", "Augmensys GmbH")]
public class TestPlugin : UBIK.Injection.IUbikPlugin
10,686
edits