Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / C#

Validation Across Class Hierarchies and Interface Implementations

Rate me:
Please Sign up or sign in to vote.
4.00/5 (4 votes)
12 May 2008LGPL33 min read 28.9K   100   25  
Dependency injection of validation rules and their application across class hierarchies and interface implementations

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C# Express 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ValidationRules", "ValidationRules\ValidationRules.csproj", "{DBD2E18C-7AAB-4950-955B-61228C510620}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleRules", "SampleRules\SampleRules.csproj", "{14BEAE30-64AF-4121-916E-264F77F8CE50}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleTest", "SampleTest\SampleTest.csproj", "{D6A7FE3C-C0C7-45DD-8900-DE05FDE01966}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IPersonAndImplementations", "IPersonAndImplementations\IPersonAndImplementations.csproj", "{1AF3EADD-C993-463C-80A9-A0F2B4E910D1}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{DBD2E18C-7AAB-4950-955B-61228C510620}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{DBD2E18C-7AAB-4950-955B-61228C510620}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{DBD2E18C-7AAB-4950-955B-61228C510620}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{DBD2E18C-7AAB-4950-955B-61228C510620}.Release|Any CPU.Build.0 = Release|Any CPU
		{14BEAE30-64AF-4121-916E-264F77F8CE50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{14BEAE30-64AF-4121-916E-264F77F8CE50}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{14BEAE30-64AF-4121-916E-264F77F8CE50}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{14BEAE30-64AF-4121-916E-264F77F8CE50}.Release|Any CPU.Build.0 = Release|Any CPU
		{D6A7FE3C-C0C7-45DD-8900-DE05FDE01966}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D6A7FE3C-C0C7-45DD-8900-DE05FDE01966}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D6A7FE3C-C0C7-45DD-8900-DE05FDE01966}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D6A7FE3C-C0C7-45DD-8900-DE05FDE01966}.Release|Any CPU.Build.0 = Release|Any CPU
		{1AF3EADD-C993-463C-80A9-A0F2B4E910D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{1AF3EADD-C993-463C-80A9-A0F2B4E910D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{1AF3EADD-C993-463C-80A9-A0F2B4E910D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{1AF3EADD-C993-463C-80A9-A0F2B4E910D1}.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 GNU Lesser General Public License (LGPLv3)


Written By
Technical Lead Olivine Technology
Kenya Kenya
Technical Lead, Olivine Technology - Nairobi, Kenya.

"The bane of productivity: confusing the rituals of work (sitting at your desk by 8:00am, wearing a clean and well pressed business costume etc.) with actual work that produces results."

Watch me!

Comments and Discussions