none
Bridge Pattern in .NET Framework RRS feed

  • Question

  • Dear Members,

    Just wanted to confirm whether Stream and TextWriter is a good example of Bridge Pattern? or if it is really an example of Bridge Pattern?


    Saturday, June 7, 2014 11:16 AM

Answers

  • Is the glass half full or half empty.  A Stream and TextWriter are abstract object that any text can be pass through the object.  So they can be used as a bridge, but they don't really do any transformations so they are not a 'GOOD' example of the Bridge Pattern.

    jdweng

    Saturday, June 7, 2014 4:21 PM