public sameVM() { #region Create DataWrappers PersonA = new Cinch.DataWrapper <Decimal>(this, personAChangeArgs); PersonB = new Cinch.DataWrapper <Int32>(this, personBChangeArgs); //fetch list of all DataWrappers, so they can be used again later without the //need for reflection cachedListOfDataWrappers = DataWrapperHelper.GetWrapperProperties <sameVM>(this); #endregion #region Create Auto Generated Property Callbacks //Create callbacks for auto generated properties in auto generated partial class part //Which allows this part to know when a property in the generated part changes Action personACallback = new Action(PersonAChanged); autoPartPropertyCallBacks.Add(personAChangeArgs.PropertyName, personACallback); Action personBCallback = new Action(PersonBChanged); autoPartPropertyCallBacks.Add(personBChangeArgs.PropertyName, personBCallback); #endregion }