Create a new container with the component registrations that have been made.
| C# | Visual Basic | Visual C++ |
public virtual IContainer Build()
Public Overridable Function Build As IContainer
public: virtual IContainer^ Build()
A new container with the configured component registrations.
Build can only be called once per ContainerBuilder
- this prevents ownership issues for provided instances.