Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a parameter whether it likes it or not
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00547561
Message ID:
00548315
Vues:
17
I just read about this in Design Patters: This is a pattern called Adapter (Also known as: Wrapper): Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.

So I don't think that this is needs to be messy if you are careful with the implementation.

Just a thought.

Christian.

>Now there's a good idea. It's a little messy, but this class is really messy anyway. :) I'll give that a try.
>
>Thanks,
>
>Michelle
>
>
>>I guess another option would be to create a wrapper method with a different name that accepts the parameter then calls the original code.
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform