示例#1
0
            public IDependencyContainer CreateChildContainer()
            {
                var child = new DependencyContainerDouble(this.childContainerCreatedCallback);

                child.Parent = this;

                this.childContainerCreatedCallback(child);
                return(child);
            }
示例#2
0
 private void ChildContainerCreatedCallback(DependencyContainerDouble childContainer)
 {
     this.lastChildContainer = childContainer;
 }