Back to list
Views:   0
Replies:  0
Reply 1
Hello Amit: 

This seems like a fine implementation of the Factory Method design pattern.
It allows each message channel to implement its own SendMessage implementation.
Furthermore, you can easily add a third message channel with little effort. 

Hope this helps.

Jack Poorte, Sep 13, 2013
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas