Exemplo n.º 1
0
 public void UpdateResult()
 {
     try
     {
         Result     = VariableManager.EvaluateWithVariable(InputExpr);
         OutputType = GetPrettyType(Result);
     }
     catch (ExprCoreException e)
     {
         Result      = new ErrorTextTokenType(e.Message);
         BorderBrush = (Brush)App.Current.FindResource("ErrorColor");
         OutputType  = "Error";
     }
 }