private ContainerBase(ILog log, int?maxDisposeParallelization, bool includeUnkeyedInResovleAll, RegistrationMaps maps) { _maps = maps ?? throw new ArgumentNullException(nameof(maps)); Log = log ?? throw new ArgumentNullException(nameof(log)); MaxDisposeParallelization = maxDisposeParallelization; IncludeUnkeyedInResovleAll = includeUnkeyedInResovleAll; }
protected ContainerBase(ILog log, int?maxDisposeParallelization, bool includeUnkeyedInResovleAll) : this(log, maxDisposeParallelization, includeUnkeyedInResovleAll, RegistrationMaps.Create()) { this.RegisterInstance(log); this.RegisterProxy <IContainer>(r => this); this.RegisterProxy <IResolver>(r => this); }