Skip to content

ServiceRegistrationBaseAttribute Properties

ClassProperties2 members
Attribute used to define the service registration of a given type
LifetimeSection titled LifetimeServiceLifetime
The lifetime
public ServiceLifetime Lifetime { get; }
ServiceTypesSection titled ServiceTypesImmutableArray<Type>
The service type
public ImmutableArray<Type> ServiceTypes { get; }