This project is read-only.
Project Description
C# 4.0 library to generate INotifyPropertyChanged proxy from POCO type at runtime. It will inherit from the type given and override any public virtual properties with wrappers that notify on change. Text templates are used to define the source of the generated class.

Expanatory blog post:

Steps to use:
- download the source of the library
- change the text templates to suit your needs (if necessary)
- compile the library and reference it in your project
- mark any public properties as virtual in the POCO objects you want to wrap
- instantiate the wrapper using var notifyPoco = TypeFactory.GetINotifyPropertyChangedInstance<Poco>(param1,param2,...); instead of new Poco();

Last edited Jan 15, 2011 at 12:50 PM by Siderite, version 4