Example #1
0
 public TypeFactory(TypeRegistry typeRegistry, LoadTaskRegistry loadTaskRegistry,
                    AssemblyRegistry assemblyRegistry,
                    NamespaceRegistry namespaceRegistry)
 {
     _loadTaskRegistry  = loadTaskRegistry;
     _assemblyRegistry  = assemblyRegistry;
     _namespaceRegistry = namespaceRegistry;
     _typeRegistry      = typeRegistry;
 }
Example #2
0
        public ArchBuilder()
        {
            _assemblyRegistry  = new AssemblyRegistry();
            _namespaceRegistry = new NamespaceRegistry();
            _loadTaskRegistry  = new LoadTaskRegistry();
            var typeRegistry = new TypeRegistry();

            _typeFactory          = new TypeFactory(typeRegistry, _loadTaskRegistry, _assemblyRegistry, _namespaceRegistry);
            _architectureCacheKey = new ArchitectureCacheKey();

            _architectureCache = ArchitectureCache.Instance;
        }