API Reference¶
Quick reference for InjectQ's essential API.
Quick Start¶
See the Quick Reference Guide for common API patterns and code examples.
Main Topics Covered¶
- Container creation and configuration
- Binding services (dict interface and bind methods)
- Decorators (@inject, @singleton, @transient, @scoped, @resource)
- Module system and providers
- Testing utilities (test_container, override_dependency)
- Exception handling
- Scope management
- Type-safe injection
For Detailed Implementation¶
For implementation details beyond the quick reference, refer to:
- Injection Patterns - Different ways to inject dependencies
- Scopes - Service lifetime management
- Modules - Organizing dependencies
- Testing - Testing your dependency-injected code