Auto inject property for register types without DependencyAttribute.
- by ais
Register<IA, A>();
class B { public IA A {get;set;}}
//container inject this property because IA was registered
In autofac you can do
builder.RegisterType<A>().InjectProperties();
for this.
Is there any extension for unity to do this? Or may be extension which I can use as sample for implement this feature by myself?