Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decorator pattern question
Message
De
18/03/1999 18:24:11
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00199184
Message ID:
00199529
Vues:
17
Thanks guys, but this is not a decorator implementation. Check out the design patterns articles at WWW.STEVENBLACK.COM

Thanks

Rex

>>oDecorator = CREATEOBJECT('MyDecorator', THIS)
>>oDecorator.Decorate()
>
>>oDecorator2 = CREATEOBJECT('MyDecorator2', THIS)
>>oDecorator.Decorate()
>
>FWIW Erik our heads were in the same fuzzy place <s> except you did a better job of explaining it. This is how I do it, regardless of how many Decorators come into play I call decorate() in the same way.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform