Skip to content

API Reference

This section provides comprehensive API documentation for all InjectQ classes, functions, and utilities. The documentation is automatically generated from source code docstrings.

Core Components

  • Container - Main dependency injection container
  • Module - Configuration modules for organizing bindings
  • Decorators - Injection decorators and utilities
  • Scopes - Scope management and lifecycle
  • Registry - Internal service registry
  • Resolver - Dependency resolution engine

Advanced Features

Type System

  • Types - Type definitions and protocols
  • Exceptions - Custom exception classes

Usage Examples

Each API reference page includes:

  • Complete class/function signatures
  • Detailed parameter descriptions
  • Return value documentation
  • Usage examples and code snippets
  • Related functionality cross-references
  • Version history and compatibility notes
  • Use the search functionality to quickly find specific APIs
  • Each class and method is cross-linked for easy navigation
  • Examples are provided inline with API documentation
  • See the examples section for comprehensive usage patterns