Autofac
v7.0.0
  • 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
  • Docs »
  • 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
Next Previous

© Copyright Autofac Project. All rights reserved. Revision 6478a3cf.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: v7.0.0
Versions
latest
stable
v7.0.0
v6.0.0
v5.2.0
v4.9.4
v4.0.0
v3.5.2
Downloads
pdf
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.