envisage.i_provider_extension_registry module

The provider extension registry interface.

class envisage.i_provider_extension_registry.IProviderExtensionRegistry(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: IExtensionRegistry

The provider extension registry interface.

add_provider(provider)[source]

Add an extension provider.

get_providers()[source]

Return all of the providers in the registry.

remove_provider(provider)[source]

Remove an extension provider.

Raise a ‘ValueError’ if the provider is not in the registry.