registerProvider ( configKey, ruleObj )
Register IRule ruleObj as a provider for configKey
configKey must be adaptable to IConfigKey . ruleObj will be
registered as a provider of the specified key.
If a provider has already been registered for the given key, the
new provider will replace it, provided that it has not yet been
used. (If it has, AlreadyRead should be raised.)
If the key is an Interface with bases (or any other type of
configuration key that supports registering implied keys), the provider
will also be registered for any keys implied by the supplied key,
unless a provider was previously registered under the implied key.
|