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

