Autofac.EasyPropInject NuGet Package

Allows to inject properties of classes by using annotations.

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.




Got any Autofac.EasyPropInject Question?





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)



Tags



STATS

must-have-score

1.8

avg-downloads-per-day

4

days-since-last-release

20