Skip to content

RegistrationLifetimeAttribute Constructors

ClassConstructors1 member
Defines the lifetime that should be used service registrations created using the ISpecularProvider
Defines the lifetime that should be used service registrations created using the ISpecularProvider
public class RegistrationLifetimeAttribute
{
public RegistrationLifetimeAttribute(
ServiceLifetime lifetime)
{
// ...
}
}
lifetimeServiceLifetime
Constructor to specify the lifetime