Extension - Custom configuration

Z Podpora.nextis.cz
Přejít na: navigace, hledání

Involved namespaces

Core.Config.Extensions

Involved classes

Core.Config.Extensions.Storage

Core.Config.Extensions.ExtendedConfiguration

Important events

InitializeConfiguration(e As System.Collections.Generic.List(Of Core.Config.Extensions.ExtendedConfiguration))

Step by step example

  1. within your extension project create one class, inherited from Core.Config.Extensions.ExtendedConfiguration
  2. fill must override properties (key, name)
  3. put your own requested properties into this class
  4. create shared instance of this class for your project (not necessary, just for simplifying acces to your configuration within your project)
  5. during the event InitializeConfiguration put instance of your configuration class into list (available within events inside argument)
  6. your configuration will be visible in global configuration under node "Extension"