MSDN Session - Sample Code
Ok, as promised, here is the code that I used in the MSDN session: http://nunosilva.members.winisp.net/samples/CustomPipelineDemo.zip
Any questions you might have about it, either post a comment to this post, or send me an email.
Have fun!