Sunday, August 26, 2012

Pass data to a new View Model with Silverlight and AutoFac

Pass data to a new View Model with Silverlight and AutoFac

I have started to use AutoFac with Silverlight 5 and am now starting to get my head around it

I have managed to get a central static container which I can create from anywhere

It would be really helpful if someone could give me some rough code snippets for how I could use AutoFac for the following situation

Clip is a class that has a ClipID property, as well as others

ViewClipDetailsViewModel - This view model needs to be provided with the clip id which is to be viewed.

I want to use AutoFac to do constructor injection to provide the ClipID

Paul

Answers & Comments...




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog