...
Add the nuget package https://www.nuget.org/packages/antony.Groupware.ExtensionInterfaces/ and https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0-preview.3.23174.8 (Version 3.1.32) to your project
Write a RegistryClass, decorate your assembly with
AntonyModuleAttribute
and add your ModuleKeyCode Block [assembly: AntonyModule(typeof(MyClassRegistry), ModuleKey = "de.die_groupware.mymodule")]
Decorate your method within you RegistryClass with the
AntonyServiceRegistryAttribute
,Code Block [AntonyServiceRegistry()] public void Register(IServiceCollection services)
Add the file-link for your uri to the registry under
Computer\HKEY_CURRENT_USER\SOFTWARE\SCOM\antony\modules\AntonyGroupware
or
Computer\HKEY_CURRENT_USER\SOFTWARE\SCOM\antony\modules\AntonyHubClient
ExtensionInterfaces
Antony provides interfaces which are used to detect and load your registry. This interfaces comes within an easy to handle nuget package. This package doesnt have any other dependencies but .netstandard 2.0. Therefore you should be able to use this in nearly every project. You find this Project on http://nuget.org : https://www.nuget.org/packages/antony.Groupware.ExtensionInterfaces/
...