1

i am trying to use autofac for prism. Used bootstraper project link is bellow. autofac is passes depened object when i used as contructor parameter. but it's not passes when i use as property with a import attribute.

https://bitbucket.org/stmu/prism.aufofacextension/src

it's not a prism question. autofac is not inject properties. what is my mistake? how to solve this? thanks.

Omer Faruk Zorlu
  • 371
  • 1
  • 18
  • can you add a minimal example of a class where the property injection does not work? – wimh Oct 13 '13 at 22:41

1 Answers1

1

On your RegisterType calls, you most likely need to add .PropertiesAutowired().

Philip Rieck
  • 32,368
  • 11
  • 87
  • 99