Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.2.0-preview-739" />

 IEnumerableWrapper

public interface IEnumerableWrapper : IResolver
Represents a wrapper that can wrap a collection of a service.
using System.Collections.Generic; using System.Linq.Expressions; using System.Runtime.CompilerServices; namespace Stashbox.Resolution { public interface IEnumerableWrapper : IResolver { [System.Runtime.CompilerServices.NullableContext(1)] Expression WrapExpression(TypeInformation originalTypeInformation, TypeInformation wrappedTypeInformation, IEnumerable<ServiceContext> serviceContexts); bool TryUnWrap(TypeInformation typeInformation, out TypeInformation unWrappedType); } }