IServiceWrapper
Represents a wrapper that can wrap a service.
using System;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
namespace Stashbox.Resolution
{
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IServiceWrapper : IResolver
{
Expression WrapExpression(TypeInformation originalTypeInformation, TypeInformation wrappedTypeInformation, ServiceContext serviceContext);
bool TryUnWrap(Type type, out Type unWrappedType);
}
}