Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="2.8.9-preview-513" />

 IRegistrationRepository

public interface IRegistrationRepository
Represents a registration repository.
using Stashbox.Entity; using Stashbox.Resolution; using System; using System.Collections.Generic; namespace Stashbox.Registration { public interface IRegistrationRepository { void AddOrUpdateRegistration(IServiceRegistration registration, Type serviceType, bool remap, bool replace); IServiceRegistration GetRegistrationOrDefault(Type type, ResolutionContext resolutionContext, object name = null); IServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext); IEnumerable<KeyValue<object, IServiceRegistration>> GetRegistrationsOrDefault(Type type, ResolutionContext resolutionContext); IEnumerable<KeyValuePair<Type, IServiceRegistration>> GetRegistrationMappings(); bool ContainsRegistration(Type type, object name); } }