/// <summary> /// Copy constructor. Initializes an instance of an inheritor of <see cref="AutoContainer"/> /// to have the same values for its private backing fields as <paramref name="parentContainer"/>. /// NOTE: The fields that are copied are the fields defined in in the <see cref="AutoContainer"/> /// class. In other words, fields defined in an inheritor of <see cref="AutoContainer"/> will not /// be copied by this constructor. /// </summary> protected AutoContainer(AutoContainer parentContainer) : this(parentContainer._instances, parentContainer._bindings, parentContainer._constructorSelector) { }
public MergedAutoContainer(AutoContainer primaryContainer, IResolver seconaryContainer) : base(primaryContainer) { _secondaryContainer = seconaryContainer; }