void MentorChanged (object sender, EventArgs e)
{
try {
DetachDataContextHandlers (mentor);
mentor = Target.Mentor;
AttachDataContextHandlers (mentor);
MentorDataContextChanged ();
} catch (Exception ex) {
try {
Console.WriteLine ("Moonlight: Unhandled exception in BindingExpressionBase.MentorChanged: {0}", ex);
} catch {
// Ignore
}
}
}