IRegistrationRepository
Represents a registration repository.
void AddOrUpdateRegistration(ServiceRegistration registration, Type serviceType, bool remap, bool replace)
Adds or updates an element in the repository.
Check a type exists with conditions.
Returns all registration mappings.
ServiceRegistration GetRegistrationOrDefault(Type type, ResolutionContext resolutionContext, object name = null)
Returns a registration.
ServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
Returns a registration.
IEnumerable<ServiceRegistration> GetRegistrationsOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
Returns all registrations for a type.