DependencyContainer.removeRegistration

Removes a registered dependency by type.

A dependency can be removed either by super type or concrete type, depending on how they are registered.

class DependencyContainer
public
void
removeRegistration
(
RegistrationType
)
()

Examples

container.removeRegistration!Animal;

Meta