Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Pattern question (in hindsight)
Message
 
 
À
18/04/1999 20:21:58
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00209551
Message ID:
00209980
Vues:
30
Nancy,

>Another example: I have a listbox subclass that adds a custom property called "PopulateList". This subclass calls PopulateList in the Init, but it doesn't code the Populate list. I let subclasses control that. Is this an example of a Template Method design pattern?

This is just an abstract method in the base class, the derived classes are responsible for putting the necessary code into the method.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform