Info
| Version: | 3.0.0 |
| Author(s): | Malte Peters |
| Last Update: | Saturday, August 1, 2026 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/nfMalde/Autofac.EasyPropInject |
| NuGet Url: | https://www.nuget.org/packages/Autofac.EasyPropInject |
Install
Install-Package Autofac.EasyPropInject
dotnet add package Autofac.EasyPropInject
paket add Autofac.EasyPropInject
Autofac.EasyPropInject Download (Unzip the "nupkg" after downloading)
Dependencies
- Autofac(>= 6.0.0)
Tags
Decorate any public, protected or private property with [FromAutofac] and EasyPropInject resolves it
from the Autofac container while the component is activated.
Property metadata is cached per type and
written through emitted setters, so injection costs close to nothing after the first resolve.