Hi!
How do I wire structuremap to inject properties when builing instances of interface IDummy.
Let's say that I have a concrete class called Dummy which implements interface IDummy.
The Dummy class got two properties, the first one called DataContext implements IDataContext, the second property is just a basic string called MyDummyString..
Then a second IDummy implementation called DummyConcrete2, only has one property, MyDummyString(as above).
How do I wire this in Structure Map, so when I request concrete DummyConcrete2, properties are by default injected. Have googled a lot, but haven't been able to figure it out yet. The StructureMap documentation seems to be a few versions old(a lot of deprecated methods)..
Any comment that could shed some light on this would be great!
Thanks!