public static void CallPropertyChangedDelegate(System.Action aDelegate)
{
try
{
aDelegate();
}
catch (Exception e)
{
System.Diagnostics.Debug.WriteLine("WARNING: unexpected exception {0} thrown", new object[] { e });
System.Diagnostics.Debug.WriteLine(" No exceptions should be thrown by property change delegates");
}
}