FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

DesignPatterns/DesignPatterns/DesignPatterns.Template at master · MainaGeorge/DesignPatterns · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

DesignPatterns.Template

A template pattern is used to define the framework of an algorithm in the superclass and lets the subclasses redefine certain steps of an algorithm without changing the overall algorithm's structure.

When to use Template Pattern *When several classes contain almost identical algorithms and we need to modify all the classes when there is a change in the algorithm. *When we want to allow the clients to extend only particular steps of an algorithm, but not the whole algorithm or its structure.


Back | FazBrowse Home | New Git URL