ProviderOf ( iface, *classes )
Configuration key based on interface+class(es)
Usage:
key = config.ProviderOf(ISomething, Class1, Class2, ...)
The example is equivalent to:
key = config.MultiKey(ISomething, config.UnionOf(Class1, Class2, ...))
In other words, the returned key is a two-element configuration key that
matches the combination of the given interface and any of the given
classes.
|