ConfigureDelegate in Windsor 3

307 views
Skip to first unread message

Francois Botha

unread,
Sep 23, 2011, 6:10:43 AM9/23/11
to castle-pro...@googlegroups.com
Hi,

I based my code on the tutorial on http://docs.castleproject.org/Windsor.Windsor-tutorial-part-three-writing-your-first-installer.ashx . I'm preparing for the releas of Castle Windsor 3, so how would this code be in v3? I notice specifically that ConfigureDelegate isn't part of the namespace anymore.

thanks,
Francois

Krzysztof Koźmic

unread,
Sep 23, 2011, 6:40:04 AM9/23/11
to castle-pro...@googlegroups.com
Francois,

As explained in breakingchanges.txt instead of
.Configure(c => c.LifeStyle.Transient))

you can simply write
.LifestyleTransient()
--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/GWWsOXXZlH8J.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.

Francois Botha

unread,
Sep 23, 2011, 7:57:46 AM9/23/11
to castle-pro...@googlegroups.com
Thank you.
Reply all
Reply to author
Forward
0 new messages