Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decorator pattern question
Message
De
19/03/1999 11:38:55
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
18/03/1999 09:48:40
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:
00199781
Vues:
15
Rex-
I'm strictly pre-newbie at design patters :), so forgive me if this question is idiotic: but don't you (and the combinded object) know what order the decorators are instantiated in given the "this.oRef.oRef.oRef.etcetcetc" hierarchy?

Also, is what you are discussing essentially the chain of responsibility pattern? So that for example this.DoSomething() would look at the message (?) to see if it can handle the task. If not it calls:
this.oref.DoSomething(this.oRef)?
I'm struggling with these ideas, so I appreciate your patience. (And YOU posted looking for help :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform