Autofac ist ein Dependency-Injection-Framework und ein Inversion-of-Control-Container für .NET. Es fungiert als Komponenten-Registrierungs-Engine, die Klassenimplementierungen von ihren Abhängigkeiten entkoppelt, indem erforderliche Dienste über Konstruktoren oder Eigenschaften injiziert werden.
Die Hauptfunktionen von autofac/autofac sind: Dependency Injection, Reflection-Based Dependency Resolution, Type-Level Service Maps, Assembly Scanning and Discovery, Assembly Scanning Libraries, Assembly Scanning Registrations, Automated Component Discovery, Automatic Dependency Resolution.
Open-Source-Alternativen zu autofac/autofac sind unter anderem: uber-go/dig — dig is a reflection-based dependency injection framework and object graph resolver for Go. It functions as a container… ets-labs/python-dependency-injector — This is a dependency injection framework and inversion of control container for Python. It decouples object creation… jeffijoe/awilix — Awilix is a JavaScript dependency injection framework and inversion of control container. It provides a centralized… typestack/typedi — TypeDI is a TypeScript dependency injection container and inversion of control tool. It functions as a centralized… khellang/scrutor — Scrutor is a library that extends the standard Microsoft dependency injection container. It provides tools for… swinject/swinject — Swinject is a dependency injection framework for Swift that manages object creation and wiring through a centralized…
dig is a reflection-based dependency injection framework and object graph resolver for Go. It functions as a container that automatically satisfies type dependencies and manages the instantiation of complex networks of objects during application startup. The project utilizes a directed acyclic graph to determine the necessary sequence for object instantiation and employs interface-driven provider mapping to decouple concrete implementations from their satisfied interfaces. It resolves the object hierarchy through reflection-based type resolution and single-pass component wiring to ensure all
This is a dependency injection framework and inversion of control container for Python. It decouples object creation from business logic by managing how services and their dependencies are assembled, delivered, and linked within an application. The framework is distinguished by its ability to perform automated component wiring, using import hooks and decorators to inject dependencies into functions and classes across different modules. It supports non-blocking flows through an asynchronous dependency resolver and manages the initialization and shutdown sequences of shared external resources a
Awilix is a JavaScript dependency injection framework and inversion of control container. It provides a centralized system for registering and resolving services, decoupling application components by automating how dependencies are created and passed to the functions or classes that require them. The framework features an automatic module loader that scans the filesystem using glob patterns to register dependencies based on filenames and exports. It supports parameter-name-based injection and proxy-based resolution to manage how dependencies are delivered to constructors and functions. The s
TypeDI is a TypeScript dependency injection container and inversion of control tool. It functions as a centralized registry and service locator that manages object instantiation and decouples component dependencies using type inference and decorators. The project provides scoped dependency management to isolate service instances within specific contexts, preventing data leakage between different execution flows. It supports flexible service resolution through the use of type-safe tokens and the ability to map unique identifiers or class constructors to specific service instances. The contain