Top "Property-injection" questions

How to inject dependency property using Ioc Unity

I have the following classes: public interface IServiceA { string MethodA1(); } public interface IServiceB { string MethodB1(); } public class ServiceA : IServiceA { public …

c# inversion-of-control unity-container ioc-container property-injection
Unity Static Property Injection

I have two classes, one which sets up the container by registering types and one which contains a static property …

c# unity-container containers dependency-properties property-injection
Spring @Autowired and @Value on property not working

I would like to use @Value on a property but I always get 0(on int). But on a constructor parameter …

java spring spring-boot dependency-injection property-injection
How to resolve property injection with Autofac?

I have an MVC web app which uses Autofac to inject services in controllers. The problem: I am trying to …

c# model-view-controller dependency-injection autofac property-injection