public ServiceEntry CloneFor(Container newContainer) { var result = new ServiceEntry (); result.Factory = this.Factory; result.Scope = this.Scope; result.Owner = this.Owner; result.Container = newContainer; result.Iniatilizer = this.Iniatilizer; return result; }
public Container CreateChildContainer() { var newChildContainer = new Container (this); childContainers.Push (newChildContainer); return newChildContainer; }
internal Container(Container parentContainer) { this.parentContainer = parentContainer; }