Changes

HowTo:Create UBIK Plugin

633 bytes added, 10:42, 19 March 2015
/* MetaData */
== MetaData ==
Ubik needs some Meta Information to manage Managing plugins correctly.The available MetaInformation are requires to provice the following information, as defined by the interface '''UBIK.Injection.IUbikInjectionMetaData'''. 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 { }</source>
=== Mandatory information ===
10,686
edits