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(DebugValueRepresentationKind.Normal).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; }