A configuration callback for instances of IRootTargetContainer.
public interface ITargetContainerConfig
Clearly, this callback interface can be used to perform any action on an IRootTargetContainer, but the intention is to use it either to pre-register targets or target containers for specific types, or to set options on a target container.
The automatic injection of enumerables, for example, is enabled by applying the InjectEnumerables to a target container.
Different target containers also have their own statically available default configuration collections, of the type CombinedTargetContainerConfig, which also implements this interface by applying multiple configurations to a target container - providing an easy way to combine multiple configurations as one. The most commonly used and modified of these is the DefaultConfig collection.
Methods| Improve this Doc View Source
Called to apply this configuration to the given
void Configure(IRootTargetContainer rootTargets)
The target container to which the configuration is to be applied - will not be null when called by the framework.