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); }
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); }
private bool ComputeCsvAvailability(DebugValueEvaluationResult evaluation) { bool result = false; if (evaluation != null) { result = ComputeDetailAvailability(evaluation); if (!result) { result = evaluation.Length > 1; } } return(result); }