Click here to Skip to main content
12,446,296 members (53,292 online)
Click here to Skip to main content

Stats

111.8K views
2.3K downloads
216 bookmarked
Posted

From No Factory to Factory Method

, 23 Nov 2012 CPOL
This article will tell about the very known design pattern "Factory Pattern" used in the programming.
FactoryMethod
AbstractCourseFactory
obj
Debug
Properties
CorporateClient
bin
Debug
SimpleFactory.vshost.exe.manifest
obj
x86
Debug
Properties
CorporateCourseFactory
obj
Debug
Properties
CourseLibrary
obj
Debug
Properties
FactoryMethod.suo
OnlineClient
bin
Debug
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.vshost.exe.manifest
obj
x86
Debug
Properties
OnlineCourseFactory
obj
Debug
Properties
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
Release
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
SimpleFactory.dll
SimpleFactory.pdb
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
SimpleFactoryClient.vshost.exe
Release
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
TempPE
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
Release
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
Release
CourseLibrary.dll
CourseLibrary.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
FactoryMethod.suo
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
SimpleFactory.dll
SimpleFactory.pdb
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
SimpleFactoryClient.vshost.exe
SimpleFactoryClient.vshost.exe.manifest
Release
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
TempPE
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
Release
DesignTimeResolveAssemblyReferencesInput.cache
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
TempPE
MultiLevelFactoryMethod
AbstractCourseFactory
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
Release
obj
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
Properties
CorporateClient
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
SimpleFactory.dll
SimpleFactory.pdb
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
SimpleFactoryClient.vshost.exe
SimpleFactoryClient.vshost.exe.manifest
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
TempPE
Properties
CorporateCourseFactory
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
Release
obj
Debug
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
Properties
CourseLibrary
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
Release
obj
Debug
CourseLibrary.dll
CourseLibrary.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
MultiLevelFactoryMethod.suo
OnlineClient
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
FactoryMethod.OnlineCourseFactoryVersion2.dll
FactoryMethod.OnlineCourseFactoryVersion2.pdb
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
SimpleFactory.dll
SimpleFactory.pdb
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
SimpleFactoryClient.vshost.exe
SimpleFactoryClient.vshost.exe.manifest
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
TempPE
Properties
OnlineCourseFactory
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
Release
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
ResolveAssemblyReference.cache
TempPE
Properties
OnlineCourseFactoryVersion2
bin
Debug
AbstractCourseFactory.dll
AbstractCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
FactoryMethod.OnlineCourseFactoryVersion2.dll
FactoryMethod.OnlineCourseFactoryVersion2.pdb
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
Release
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
FactoryMethod.OnlineCourseFactoryVersion2.dll
FactoryMethod.OnlineCourseFactoryVersion2.pdb
ResolveAssemblyReference.cache
TempPE
Properties
MultipleSingleFactory
CorporateClient
bin
Debug
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
SimpleFactory.dll
SimpleFactory.pdb
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
SimpleFactoryClient.vshost.exe
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
TempPE
Properties
CorporateCourseFactory
bin
Debug
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
CourseLibrary.dll
CourseLibrary.pdb
Release
obj
Debug
CorporateCourseFactory.dll
CorporateCourseFactory.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
Properties
CourseLibrary
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
Release
obj
Debug
CourseLibrary.dll
CourseLibrary.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
MultipleSingleFactory.suo
OnlineClient
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
SimpleFactory.dll
SimpleFactory.pdb
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
SimpleFactoryClient.vshost.exe
SimpleFactoryClient.vshost.exe.manifest
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
TempPE
Properties
OnlineCourseFactory
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
Release
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
OnlineCourseFactory.dll
OnlineCourseFactory.pdb
TempPE
Properties
SimpleFactory
CourseLibrary
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
Release
CourseLibrary.csproj.user
obj
Debug
CourseLibrary.dll
CourseLibrary.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
SimpleFactory
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
SimpleFactory.dll
SimpleFactory.pdb
Release
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactory.dll
SimpleFactory.pdb
TempPE
Properties
SimpleFactory.suo
SimpleFactoryClient
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
SimpleFactory.dll
SimpleFactory.pdb
SimpleFactory.vshost.exe.manifest
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
SimpleFactoryClient.vshost.exe
SimpleFactoryClient.vshost.exe.manifest
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SimpleFactoryClient.exe
SimpleFactoryClient.pdb
TempPE
Properties
WithoutFactory
CourseLibrary
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
Release
CourseLibrary.cd
obj
Debug
CourseLibrary.dll
CourseLibrary.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
WithoutFactory
bin
Debug
CourseLibrary.dll
CourseLibrary.pdb
WithoutFactory.exe
WithoutFactory.pdb
WithoutFactory.vshost.exe
WithoutFactory.vshost.exe.manifest
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
WithoutFactory.exe
WithoutFactory.pdb
Properties
WithoutFactory.csproj.user
WithoutFactory.suo

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Marla Sukesh
Instructor / Trainer Train IT
India India
Learning is fun but teaching is awesome.

Code re-usability is my passion ,Teaching and learning is my hobby, Becoming an successful entrepreneur is my goal.

By profession I am a Corporate Trainer.
I do trainings on WCF, MVC, Business Intelligence, Design Patterns, HTML 5, jQuery, JSON and many more Microsoft and non-Micrsoft technologiees.

Find my profile here



My sites



@Twitter
@Facebook

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160811.3 | Last Updated 23 Nov 2012
Article Copyright 2012 by Marla Sukesh
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid