---
title: "Predefined CodeDOM implementations for common .NET usage patterns"
url: "https://osherove.com/blog/2005/11/8/predefined-codedom-implementations-for-common-net-usage-patt.md"
canonical: "https://osherove.com/blog/2005/11/8/predefined-codedom-implementations-for-common-net-usage-patt.html"
published: "2005-11-08T03:51:00"
updated: "2005-11-08T03:51:00"
tags: [".Net Quotations"]
author: "Roy Osherove"
description: "Omer Van Kloeten adds some predefined CodeDOM implementations for common .NET usage patterns . Very cool and pretty darn useful for anyone doing some development with the Microsoft .NET Code DOM to generate source code…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Predefined CodeDOM implementations for common .NET usage patterns

By Roy Osherove November 8, 2005 In [.Net Quotations](https://osherove.com/blog/category/net-quotations)

**Historical article** · Originally published November 8, 2005; technical details may be outdated.

[Omer Van Kloeten adds some predefined CodeDOM implementations for common .NET usage patterns](http://weblogs.asp.net/okloeten/archive/2005/11/01/429153.aspx). Very cool and pretty darn useful for anyone doing some development with the Microsoft .NET Code DOM to generate source code on the fly.

I've known Omer for a while now, and if there's one thing this guys knows well, it's generating code. (Of course he knows lots more, but seems like that's his passion lately)

_"The CLR and other .NET code contain many recurring patterns. As these patterns appear in code, they may also appear in CodeDom, yet generating those patterns takes much work, which is quite repetitive. This library contains several pattern implementations for use in your CodeDom code."_

## More in .Net Quotations

[All posts in .Net Quotations](https://osherove.com/blog/category/net-quotations)

- Sep 23, 2006

    ### [Faster builds of web projects with VS 2005](https://osherove.com/blog/2006/9/23/faster-builds-of-web-projects-with-vs-2005.html)

- May 18, 2006

    ### [CLR Generics Vs. C++ Templates - some good links](https://osherove.com/blog/2006/5/18/clr-generics-vs-c-templates-some-good-links.html)

- Oct 30, 2005

    ### [Automating the reinvention of the wheel](https://osherove.com/blog/2005/10/30/automating-the-reinvention-of-the-wheel.html)

- Oct 30, 2005

    ### [Strongly Typed Reflection Calls in .NET 2.0](https://osherove.com/blog/2005/10/30/strongly-typed-reflection-calls-in-net-20.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
