Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.0.0-preview-717" />

 ServiceContext

public class ServiceContext
Represents the context of a service.
using Stashbox.Registration; using System.Linq.Expressions; namespace Stashbox.Resolution { public class ServiceContext { public readonly Expression ServiceExpression; public readonly ServiceRegistration ServiceRegistration; public ServiceContext(Expression serviceExpression, ServiceRegistration serviceRegistration) { ServiceExpression = serviceExpression; ServiceRegistration = serviceRegistration; } } }