IEnumerableWrapper
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);
}
}