CreateTextWithIcon() private method

private CreateTextWithIcon ( string text, ImageSource icon, object tooltip = null ) : UIElement
text string
icon ImageSource
tooltip object
return UIElement
 protected object GetValue(Func <object> getValueFunction)
 {
     try
     {
         return(getValueFunction());
     }
     catch (Exception ex)
     {
         return(interactiveResultVisualizer.CreateTextWithIcon("Exception", ExceptionImage, ex.ToString()));
     }
 }