Skip to content

ServiceRegistrationAttribute<TService1, TService2, TService3, TService4, TService5, TService6, TService7> Constructors

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