Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / C#

Delegate Factory

Rate me:
Please Sign up or sign in to vote.
2.92/5 (8 votes)
10 Jan 2005CPOL3 min read 58.4K   165   43  
A dynamic factory using delegates
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Objects", "Objects\Objects.csproj", "{BBAF8E04-AC2B-4444-8C21-8484E52C02FB}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestFactory", "TestFactory\TestFactory.csproj", "{20B5848C-E499-427E-B4FD-87073B6CA7DC}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		Debug = Debug
		Release = Release
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{BBAF8E04-AC2B-4444-8C21-8484E52C02FB}.Debug.ActiveCfg = Debug|.NET
		{BBAF8E04-AC2B-4444-8C21-8484E52C02FB}.Debug.Build.0 = Debug|.NET
		{BBAF8E04-AC2B-4444-8C21-8484E52C02FB}.Release.ActiveCfg = Release|.NET
		{BBAF8E04-AC2B-4444-8C21-8484E52C02FB}.Release.Build.0 = Release|.NET
		{20B5848C-E499-427E-B4FD-87073B6CA7DC}.Debug.ActiveCfg = Debug|.NET
		{20B5848C-E499-427E-B4FD-87073B6CA7DC}.Debug.Build.0 = Debug|.NET
		{20B5848C-E499-427E-B4FD-87073B6CA7DC}.Release.ActiveCfg = Release|.NET
		{20B5848C-E499-427E-B4FD-87073B6CA7DC}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	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)


Written By
Software Developer
Israel Israel
Software designer and programmer.
Programming languages:
MFC, C++, Java , C#, VB and sometimes C and assembly.

Comments and Discussions