Autofac
stable
Getting Started
What’s New
Registering Components
Registration Concepts
Passing Parameters to Register
Property and Method Injection
Assembly Scanning
Resolving Services
Controlling Scope and Lifetime
Configuration
Application Integration
Best Practices and Recommendations
Advanced Topics
Debugging and Troubleshooting
Examples
Frequently Asked Questions
Glossary
Contributor Guide
Getting Support
API Documentation
Owner’s Guide
Autofac
Registering Components
Edit on GitHub
Registering Components
Registration Concepts
Reflection Components
Register by Type
Specifying a Constructor
Required Properties
Instance Components
Lambda Expression Components
Complex Parameters
Property Injection
Selection of an Implementation by Parameter Value
Open Generic Components
Services vs. Components
Default Registrations
Conditional Registration
Configuration of Registrations
Dynamically-Provided Registrations
Passing Parameters to Register
Available Parameter Types
Parameters with Reflection Components
Parameters with Lambda Expression Components
Property and Method Injection
Property Injection
Required Properties
Required Properties and Constructors
Required Properties and Parameters
PropertiesAutowired
Manually Specifying Properties
Overriding Required Properties
Injecting Properties on an Existing Object
Method Injection
Assembly Scanning
Scanning for Types
Filtering Types
Specifying Services
Scanning for Modules
IIS Hosted Web Applications