/// <summary> /// Initializes a new instance of the <see cref="PackageContainer{TItem}" /> class. /// </summary> /// <param name="assemblyResolver">A custom <see cref="IResolveAssembly"/>. If null, uses the default <see cref="NuPlug.AssemblyResolver"/>.</param> public PackageContainer(IResolveAssembly assemblyResolver = null) { AssemblyResolver = assemblyResolver ?? new AssemblyResolver(); Batch.AddPart(this); _container = new CompositionContainer(_catalog); }