---
title: "Configuration via Typemock Interception"
url: "https://osherove.com/blog/2008/7/15/configuration-via-typemock-interception.md"
canonical: "https://osherove.com/blog/2008/7/15/configuration-via-typemock-interception.html"
published: "2008-07-15T07:28:02"
updated: "2008-07-15T07:28:02"
tags: [".NET", "General Software Devel..."]
author: "Roy Osherove"
description: "A while ago Udi Dahan wrote that he'd like a way to configure objects by just setting property values on an object. those \"setters\" will be intercepted and saved to some config object (or container) for the future use…"
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/"
---

# Configuration via Typemock Interception

By Roy Osherove July 15, 2008 In [.NET](https://osherove.com/blog/category/net), [General Software Devel...](https://osherove.com/blog/category/general-software-devel)

**Historical article** · Originally published July 15, 2008; technical details may be outdated.

A while ago [Udi Dahan wrote that he'd like a way to configure objects](http://udidahan.weblogs.us/2008/06/13/external-value-configuration-with-ioc/) by just setting property values on an object. those "setters" will be intercepted and saved to  some config object (or container) for the future use of the application. [Here is how simple it is to do with Isolator](http://blog.typemock.com/2008/07/configuration-via-typemock-interception.html).

## Lessons on this topic

- [Mocking On The Edge](https://courses.osherove.com/courses/the-art-of-unit-testing-and-tdd-master-class-in-net/mocking-on-the-edge/) · The Art of Unit Testing & TDD Master Class in .NET

## More in .NET

[All posts in .NET](https://osherove.com/blog/category/net)

- Aug 2, 2008

    ### [Deadlock detectors](https://osherove.com/blog/2008/8/2/deadlock-detectors.html)

- Aug 2, 2008

    ### [Howto: Set custom Visual Studio Addin menu icons without a satellite dll](https://osherove.com/blog/2008/8/2/howto-set-custom-visual-studio-addin-menu-icons-without-a-sa.html)

- Jul 14, 2008

    ### [ALT.NET Israel registration is open](https://osherove.com/blog/2008/7/14/altnet-israel-registration-is-open.html)

- Jul 13, 2008

    ### [ALT.NET Israel - August 7th-8th 2008](https://osherove.com/blog/2008/7/13/altnet-israel-august-7th-8th-2008.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/
