Click here to Skip to main content
15,892,059 members
Articles / Programming Languages / C#

DataStorage: Store settings type-safe

Rate me:
Please Sign up or sign in to vote.
4.50/5 (3 votes)
8 Aug 2012GPL33 min read 26.2K   234   9  
Shows how to use the DataStorage classes to generate type-safe settings classes.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataStorage", "DataStorage\DataStorage.csproj", "{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StorageTester", "StorageTester\StorageTester.csproj", "{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataStorageGenerator", "DataStorageGenerator\DataStorageGenerator.csproj", "{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aga.Controls", "Aga.Controls\Aga.Controls.csproj", "{E73BB233-D88B-44A7-A98F-D71EE158381D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLineGenerator", "CommandLineGenerator\CommandLineGenerator.csproj", "{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Debug|x86.ActiveCfg = Debug|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Release|Any CPU.Build.0 = Release|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{33FDD8BF-437E-46DC-ABE0-00DBE2CC00E1}.Release|x86.ActiveCfg = Release|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Debug|x86.ActiveCfg = Debug|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Release|Any CPU.Build.0 = Release|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{D930EF60-3B62-420D-BDCF-2AA2F771BDD8}.Release|x86.ActiveCfg = Release|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Debug|x86.ActiveCfg = Debug|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Release|Any CPU.Build.0 = Release|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{55FF16BB-C5E9-4AB8-A723-EF0852ABFE0F}.Release|x86.ActiveCfg = Release|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Debug|x86.ActiveCfg = Debug|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Release|Any CPU.Build.0 = Release|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{E73BB233-D88B-44A7-A98F-D71EE158381D}.Release|x86.ActiveCfg = Release|Any CPU
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Debug|Any CPU.ActiveCfg = Debug|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Debug|x86.ActiveCfg = Debug|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Debug|x86.Build.0 = Debug|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Release|Any CPU.ActiveCfg = Release|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Release|Mixed Platforms.Build.0 = Release|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Release|x86.ActiveCfg = Release|x86
		{565F7DCE-44F9-4F2A-AF24-CBA5BDA60193}.Release|x86.Build.0 = Release|x86
	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 GNU General Public License (GPLv3)


Written By
pdfforge GbR
Germany Germany
Philip is a Software Architect with severaly years of experience. He studied business IT in the University of Wedel, Germany, and has reached his Masters degree in 2010. Back in 2002, he started his so far best-known software PDFCreator. The second developer joined two years later and since then, both constantly improve this piece of open source software.

Comments and Discussions