TransientLifetime
Represents a transient lifetime.
using Stashbox.Registration;
using Stashbox.Resolution;
using System;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
namespace Stashbox.Lifetime
{
public class TransientLifetime : ExpressionLifetimeDescriptor
{
[System.Runtime.CompilerServices.NullableContext(1)]
protected override Expression ApplyLifetime(Expression expression, ServiceRegistration serviceRegistration, ResolutionContext resolutionContext, Type resolveType)
{
return expression;
}
}
}