Configurators are used internally by the bootstrapper and while you generally won't need to use them directly, you can create your own configurators by implementing
TConfigurable is a type that implements
IConfigurable. The following types currently implement
Bootstrapper: the configurator can directly configure the current bootstrapper.
Engine: the configurator can directly configure the current engine.
ConfigurableCommands: used to configure the commands.
ConfigurableConfiguration: used to configure the
IConfigurationBuilderthat maps configuration files to settings.
ConfigurableServices: used to configure the
ConfigurableSettings: used to configure settings.
IConfigurator<TConfigurable> interface contains a single
void Configure(TConfigurable configurable) method that provides an instance of the configurable object.
Because the bootstrapper automatically registers all implementations of
IConfigurator<IBootstrapper>, those types of configurators can be particularly helpful in extension scenarios where you have an library that should operate on whatever bootstrapper loads it.