ServiceRegistrationAttribute<TService1, TService2, TService3> Class
Definition
Attribute used to define the service registration of a given type
public sealed class ServiceRegistrationAttribute<TService1, TService2, TService3> : ServiceRegistrationAttributeType Parameters
TService1
TService2
TService3
Inheritance object → Attribute → ServiceRegistrationAttribute
Remarks
Constructor to specify the lifetime
Constructors
ServiceRegistrationAttribute(ServiceLifetime)
Attribute used to define the service registration of a given type
public ServiceRegistrationAttribute(ServiceLifetime lifetime = ServiceLifetime.Singleton)Parameters
lifetime ServiceLifetime
Remarks
Constructor to specify the lifetime

