These features are in this namespace because they will remain accessible to
applications originally written against Autofac 1.4. In Autofac 2, this functionality
is implicitly provided and thus making explicit registrations is rarely necessary.
Methods
-
Named
Parameter static Changes the parameter mapping mode of the supplied delegate type to match parameters by name.Mapping``3(IRegistration Builder<``0, ``1, ``2>) -
Positional
Parameter static Changes the parameter mapping mode of the supplied delegate type to match parameters by position.Mapping``3(IRegistration Builder<``0, ``1, ``2>) -
Register
Generated static Registers a factory delegate.Factory(Container Builder, Type) -
Register
Generated static Registers a factory delegate.Factory(Container Builder, Type, Service) -
Register
Generated static Registers a factory delegate.Factory``1(Container Builder) -
Register
Generated static Registers a factory delegate.Factory``1(Container Builder, Service) -
Typed
Parameter static Changes the parameter mapping mode of the supplied delegate type to match parameters by type.Mapping``3(IRegistration Builder<``0, ``1, ``2>)