Yield and YieldFrom are implemented just like Return and ReturnFrom. You can share the implementation or even have Yield/YieldFrom call Return/ReturnFrom. The more important method is the For member. It looks like you have it right. If you need more help, you can see Matthew Podwysocki's excellent series on Creating Extended Builders [1].

[1] [link:codebetter.com]

By on 12/26/2010 5:19 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper