Name |
Description |
Program |
This sample program show how is possible to propagate a property change to your custom configuration section values. On 'Run' method, you will see a simple code where you use 'ConfigurationManager.GetSection' method to retreive custom configuration values. At this sample configuration (app.config) it's possible to see that 'refreshPluginType' property is set to test propose created plugin, this plugin change on defined property. Off course this, 'refreshPluginType' is very simples but the whole approach enable new other plugins to be created using any form of storage capable of persist and serve back configuration data. |
TestConfigurationReloadPlugin |
This is a test propose demonstration plugin. Knowing SampleConsoleApplication custom configuration samples fields I just hard coded to change one field value, but of course this could be also used to really get data from a defined storage. Please take a look into the solutions and checkout others real world plugins. |
VTEXCustomConfigurationSection |
Define a custom configuration section with two properties. |