Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.7.0-preview-776" />

 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 { [System.Runtime.CompilerServices.NullableContext(1)] public interface IEnumerableWrapper : IResolver { Expression WrapExpression(TypeInformation originalTypeInformation, TypeInformation wrappedTypeInformation, IEnumerable<ServiceContext> serviceContexts); bool TryUnWrap(TypeInformation typeInformation, out TypeInformation unWrappedType); } }