| ServiceContainerOnCreateChildContainer Method |
Called when a new child container needs to be created.
Namespace: DigitalRune.ServiceLocationAssembly: DigitalRune.ServiceLocation (in DigitalRune.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.13596)
Syntax protected virtual ServiceContainer OnCreateChildContainer()
Protected Overridable Function OnCreateChildContainer As ServiceContainer
protected:
virtual ServiceContainer^ OnCreateChildContainer()
abstract OnCreateChildContainer : unit -> ServiceContainer
override OnCreateChildContainer : unit -> ServiceContainer
Return Value
Type:
ServiceContainerThe child container.
Remarks Notes to Inheritors: Derived classes can override this method to create
a new child container of a certain type. The base implementation creates a child
container of type
ServiceContainer.
See Also