ServiceRegistration
Represents a service registration.
True if the registration is a decorator.
The registration id.
The implementation type.
Lifetime of the registration.
Name of the registration.
Advanced registration options.
The registration order indicator.
public int GetDiscriminator(TypeInformation typeInformation, ContainerConfiguration containerConfiguration)
Returns the service discriminator used to distinguish service instances.
If UniversalName used for service name it returns the requested dependency name's hash.
Otherwise, the service's registration identifier is used.