Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factory pattern
Message
From
11/04/2011 03:56:32
 
 
To
10/04/2011 08:40:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01506688
Message ID:
01506885
Views:
96
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 ?
Previous
Reply
Map
View

Click here to load this message in the networking platform