Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Design Patterns 1 of 3 - Creational Design Patterns

, 28 Aug 2012
In this first article about design patterns I will discuss about creational design patterns and I will show on real examples how to implement them.
Creational_RealWorldExamples-noexe.zip
Creational_RealWorldExamples
AbstractFactoryPattern
AbstractFactory
AbstractProduct
ConcreteFactories
ConcreteProducts
obj
x86
Debug
Properties
BuilderPattern
Builder
ConcreteBuilders
Director
obj
x86
Debug
Product
Properties
FactoryMethodPattern
ConcreteFactories
ConcreteProducts
FactoryBase
obj
x86
Debug
ProductBase
Properties
PrototypePattern
bin
Debug
PrototypePattern.vshost.exe.manifest
ConcretePrototype
obj
x86
Debug
Properties
Prototype
SingletonPattern
bin
Debug
SingletonPattern.vshost.exe.manifest
obj
x86
Debug
Properties
Singleton
_ReSharper.SingletonPattern
BuildScriptCache
.crc
.version
NamedArguments
.crc
.version
0
3f31fbce.dat
ProjectModel
ProjectModel.dat
Resources
.crc
.version
SymbolCache.bin
TagPrefixes
.crc
.version
TodoCache
.crc
.version
2
4b7af674.dat
WebsiteFileReferences
.crc
.version
WordIndex
.crc
.version
0
3f31fbce.dat
Creational_RealWorldExamples.zip
bin
Debug
AbstractFactoryPattern.exe
AbstractFactoryPattern.vshost.exe
AbstractFactoryPattern.exe
bin
Debug
BuilderPattern.exe
BuilderPattern.vshost.exe
BuilderPattern.exe
bin
Debug
FactoryMethodPattern.exe
FactoryMethodPattern.vshost.exe
FactoryMethodPattern.exe
PrototypePattern.exe
PrototypePattern.vshost.exe
PrototypePattern.vshost.exe.manifest
PrototypePattern.exe
SingletonPattern.exe
SingletonPattern.vshost.exe
SingletonPattern.vshost.exe.manifest
SingletonPattern.exe
.crc
.version
.crc
.version
3f31fbce.dat
ProjectModel.dat
.crc
.version
SymbolCache.bin
.crc
.version
.crc
.version
4b7af674.dat
.crc
.version
.crc
.version
3f31fbce.dat
Creational_StructuralExamples-noexe.zip
Creational_Structural
AbstractFactoryPattern
bin
Debug
AbstractFactory.vshost.exe.manifest
obj
x86
Debug
Properties
BuilderPattern
bin
Debug
Builder.vshost.exe.manifest
obj
x86
Debug
Properties
FactoryMethodPattern
bin
Debug
FactoryMethod.vshost.exe.manifest
obj
x86
Debug
Properties
PrototypePattern
obj
x86
Debug
Properties
SingletonPattern
bin
Debug
Singleton.vshost.exe.manifest
obj
x86
Debug
Properties
_ReSharper.SingletonPattern
BuildScriptCache
.crc
.version
5
4618b761.dat
NamedArguments
.crc
.version
7
12bb98f0.dat
ProjectModel
ProjectModel.dat
Resources
.crc
.version
SymbolCache.bin
TagPrefixes
.crc
.version
TodoCache
.crc
.version
7
5261b207.dat
WebsiteFileReferences
.crc
.version
WordIndex
.crc
.version
5
4618b761.dat
Creational_StructuralExamples.zip
AbstractFactory.exe
AbstractFactory.vshost.exe
AbstractFactory.vshost.exe.manifest
AbstractFactory.exe
Builder.exe
Builder.vshost.exe
Builder.vshost.exe.manifest
Builder.exe
FactoryMethod.exe
FactoryMethod.vshost.exe
FactoryMethod.vshost.exe.manifest
FactoryMethod.exe
bin
Debug
Prototype.exe
Prototype.exe
Singleton.exe
Singleton.vshost.exe
Singleton.vshost.exe.manifest
Singleton.exe
.crc
.version
4618b761.dat
.crc
.version
12bb98f0.dat
ProjectModel.dat
.crc
.version
SymbolCache.bin
.crc
.version
.crc
.version
5261b207.dat
.crc
.version
.crc
.version
4618b761.dat
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AbstractFactoryPattern")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("AbstractFactoryPattern")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("abd8a2fb-d7e8-4195-a713-35c220391795")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

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

Kanasz Robert
Architect The Staffing Edge & Marwin Cassovia Soft
Slovakia Slovakia
My name is Robert Kanasz and I have been working with ASP.NET, WinForms and C# for several years.
MCSD - Web Applications
MCSE - Data Platform
MCPD - ASP.NET Developer 3.5
- Web Developer 4
MCITP - Database Administrator 2008
- Database Developer 2008
MCSA - SQL Server 2012
MCTS - .NET Framework 3.5, ASP.NET Applications
- SQL Server 2008, Database Development
- SQL Server 2008, Implementation and Maintenance
- .NET Framework 4, Data Access
- .NET Framework 4, Service Communication Applications
- .NET Framework 4, Web Applications
MS - Programming in HTML5 with JavaScript and CSS3 Specialist
 
Open source projects: DBScripter - Library for scripting SQL Server database objects
 

Please, do not forget vote

| Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 28 Aug 2012
Article Copyright 2012 by Kanasz Robert
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid