public IDependencyContainer CreateChildContainer() { var child = new DependencyContainerDouble(this.childContainerCreatedCallback); child.Parent = this; this.childContainerCreatedCallback(child); return(child); }
private void ChildContainerCreatedCallback(DependencyContainerDouble childContainer) { this.lastChildContainer = childContainer; }