The Bitter Coder Tutorials, Binsor Style: Part XI, Factories

Tue, Sep 9, 2008 One-minute read

Previous posts in the series:

So, let’s get to the code.  Here’s our interface:

component “smsservice.default”, ISmsService,SmsService:     @factoryId=@smsservice.factory     @factoryCreate=“CreateService” Last, but not least, the program:

SMS Message: testing testing…1.2.3 sent to +465556555 with account joe

Seems we’re looking at the Decorator Pattern with Windsor next…