public TypeFactory(TypeRegistry typeRegistry, LoadTaskRegistry loadTaskRegistry, AssemblyRegistry assemblyRegistry, NamespaceRegistry namespaceRegistry) { _loadTaskRegistry = loadTaskRegistry; _assemblyRegistry = assemblyRegistry; _namespaceRegistry = namespaceRegistry; _typeRegistry = typeRegistry; }
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; }