Click here to Skip to main content
11,707,470 members (58,864 online)
Click here to Skip to main content
Add your own
alternative version

Observer Design Pattern (Delegates/Events)

, 9 Aug 2009 CPOL 36.2K 404 63
This article uses Delegates/Events to implement an Observer Design Pattern.
ObserverDP_src.zip
www.askbargains.com
www.askbargains.com.ObserverDesignPartternClient
bin
Debug
www.askbargains.com.ObserverDesignPartternClient.exe
www.askbargains.com.ObserverDesignPartternClient.pdb
www.askbargains.com.ObserverDesignPartternClient.vshost.exe
www.askbargains.com.ObserverDesignPartternClient.vshost.exe.manifest
www.askbargains.com.ObserverDesignPartternLib.dll
www.askbargains.com.ObserverDesignPartternLib.pdb
obj
Debug
ResolveAssemblyReference.cache
TempPE
www.askbargains.com.ObserverDesignPartternClient.exe
www.askbargains.com.ObserverDesignPartternClient.pdb
Properties
www.askbargains.com.ObserverDesignPartternLib
bin
Debug
www.askbargains.com.ObserverDesignPartternLib.dll
www.askbargains.com.ObserverDesignPartternLib.pdb
obj
Debug
TempPE
www.askbargains.com.ObserverDesignPartternLib.dll
www.askbargains.com.ObserverDesignPartternLib.pdb
ObserverClassDiagram.cd
Properties
www.askbargains.com.suo
Observer_src.zip
www.askbargains.com.ObserverDesignPartternClient.exe
www.askbargains.com.ObserverDesignPartternClient.vshost.exe
www.askbargains.com.ObserverDesignPartternClient.vshost.exe.manifest
www.askbargains.com.ObserverDesignPartternLib.dll
www.askbargains.com.ObserverDesignPartternLib.dll
www.askbargains.com.ObserverDesignPartternLib.pdb
Refactor
www.askbargains.com.ObserverDesignPartternLib.dll
www.askbargains.com.ObserverDesignPartternLib.dll
www.askbargains.com.ObserverDesignPartternLib.pdb
ObserverClassDiagram.cd

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "www.askbargains.com.ObserverDesignPatternClient", "www.askbargains.com.ObserverDesignPartternClient\www.askbargains.com.ObserverDesignPatternClient.csproj", "{71D6FFAD-9C83-4D3A-8BBA-803B397CAA12}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "www.askbargains.com.ObserverDesignPatternLib", "www.askbargains.com.ObserverDesignPartternLib\www.askbargains.com.ObserverDesignPatternLib.csproj", "{119D9957-A6FF-4D4C-8937-68D09F34B6C5}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{71D6FFAD-9C83-4D3A-8BBA-803B397CAA12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{71D6FFAD-9C83-4D3A-8BBA-803B397CAA12}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{71D6FFAD-9C83-4D3A-8BBA-803B397CAA12}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{71D6FFAD-9C83-4D3A-8BBA-803B397CAA12}.Release|Any CPU.Build.0 = Release|Any CPU
		{119D9957-A6FF-4D4C-8937-68D09F34B6C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{119D9957-A6FF-4D4C-8937-68D09F34B6C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{119D9957-A6FF-4D4C-8937-68D09F34B6C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{119D9957-A6FF-4D4C-8937-68D09F34B6C5}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

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

Allen _ Wang
Architect
United States United States
Sr Software Architect.Microsoft Certified Solutions Developer (MCSD).

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150819.1 | Last Updated 9 Aug 2009
Article Copyright 2009 by Allen _ Wang
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid