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