Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Factory pattern
Message
De
11/04/2011 03:56:32
 
 
À
10/04/2011 08:40:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01506688
Message ID:
01506885
Vues:
97
Sort of my point - you don't need to know. You ask for an instance of IEnumerator and it supplies one. IEnumerator only implements a single property and a couple of methods but I'd still regard this as an example of a simple (but essential) factory.
Anyway I guess we're now discussing .NET examples rather than VFP so it doesn't really belong here. And I'm happy to not agree on a term that lacks a formal definition....

>I have no idea how it is implemented.
>
>>Why do the items instantiated need to be 'complex' ?
>>So you would not agree that, for example, in .NET ArrayList.GetEnumerator() is a factory method ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform