예제 #1
0
 private bool ComputeDetailAvailability(DebugValueEvaluationResult evaluation)
 {
     if (evaluation != null && evaluation.Classes.Any(t => detailClasses.Contains(t)))
     {
         if (evaluation.Dim != null && evaluation.Dim.Count == 2)
         {
             return(true);
         }
     }
     return(false);
 }
예제 #2
0
        private string GetValue(DebugValueEvaluationResult v)
        {
            var value = v.GetRepresentation().Str;

            if (value != null)
            {
                Match match = Regex.Match(value, DataFramePrefix);
                if (match.Success)
                {
                    return(match.Groups[1].Value.Trim());
                }
            }
            return(value != null?ConvertCharacterCodes(value) : value);
        }
예제 #3
0
        private bool ComputeCsvAvailability(DebugValueEvaluationResult evaluation)
        {
            bool result = false;

            if (evaluation != null)
            {
                result = ComputeDetailAvailability(evaluation);
                if (!result)
                {
                    result = evaluation.Length > 1;
                }
            }
            return(result);
        }