ServiceRegistrationAttribute<TService1, TService2, TService3, TService4> Constructors
ClassConstructors1 member
Attribute used to define the service registration of a given type
Constructor(ServiceLifetime) Section titled Constructor(ServiceLifetime) Attribute used to define the service registration of a given type
public sealed class ServiceRegistrationAttribute<TService1, TService2, TService3, TService4>{ public ServiceRegistrationAttribute<TService1, TService2, TService3, ServiceRegistrationAttribute(ServiceLifetime lifetime) { // ... }}Parameters
lifetimeServiceLifetime Remarks
Constructor to specify the lifetime

