public ContainerRegistrationCatalog(RegistrationConvention convention, ConfigureContainer configureContainer) { _types = new DictionaryCache<Type, CatalogRegistration>(x => x.Registration.RegistrationType); _graph = new DependencyGraph<Type>(); _convention = convention; _configureContainer = configureContainer; }
public void AddRegistrationConvention(RegistrationConvention convention) { _registrationConventions.Add(convention); }