Autofac
v5.2.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
  • 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
    • 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
    • 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 1a94e4a6.

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

Free document hosting provided by Read the Docs.