An interface used to set configuration parameters to an object.
Inherits: IConfigurable
See also IConfigurable
Description
The IReconfigurable interface is used to set configuration parameters to an object.
Important points
- It is similar to the IConfigurable interface, but emphasises the fact that the configure() method can be called more than once to change an object configuration in runtime.
Examples
public class MyClass:IReconfigurable
{
private var _myParam = "default args";
// Implement configure
public Task Configure(ConfigParams config)
{
this._myParam = config.GetAsStringWithDefault("options.param", myParam);
...
}
}