Esempio n. 1
0
 public TypeFactory(TypeRegistry typeRegistry, MethodMemberRegistry methodMemberRegistry,
                    LoadTaskRegistry loadTaskRegistry, AssemblyRegistry assemblyRegistry, NamespaceRegistry namespaceRegistry)
 {
     _loadTaskRegistry     = loadTaskRegistry;
     _assemblyRegistry     = assemblyRegistry;
     _namespaceRegistry    = namespaceRegistry;
     _typeRegistry         = typeRegistry;
     _methodMemberRegistry = methodMemberRegistry;
 }
Esempio n. 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;
        }