コード例 #1
0
        public ContainerRegistrationCatalog(RegistrationConvention convention, ConfigureContainer configureContainer)
        {
            _types = new DictionaryCache<Type, CatalogRegistration>(x => x.Registration.RegistrationType);
            _graph = new DependencyGraph<Type>();

            _convention = convention;
            _configureContainer = configureContainer;
        }
コード例 #2
0
 public void AddRegistrationConvention(RegistrationConvention convention)
 {
     _registrationConventions.Add(convention);
 }