Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
Bu iki resim güzel bir tanıtım olur:


Referans:
En güzeli:
http://www.dofactory.com/patterns/patternstrategy.aspx
Vikisiz olmaz:
http://en.wikipedia.org/wiki/Strategy_pattern
David Hyden'dan:
http://davidhayden.com/blog/dave/archive/2005/07/01/1875.aspx
Hiç yorum yok:
Yorum Gönder