IUnityContainer.RemoveAllExtensions Method
Remove all installed extensions from this container.
Namespace:
Microsoft.Practices.UnityAssembly: Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)
Return Value
The UnityContainer object that this method was called on (this in C#, Me in Visual Basic).This method removes all extensions from the container, including the default ones that implement the out-of-the-box behavior. After this method, if you want to use the container again you will need to either readd the default extensions or replace them with your own.
The registered instances and singletons that have already been set up in this container do not get removed.