Skip to content

Commit

Permalink
add - Added debugger display for PropertyInfo
Browse files Browse the repository at this point in the history
---

We've improved your debugging experience by adding the display attribute to the PropertyInfo instance.

---

Type: add
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Oct 3, 2024
1 parent 94312cb commit 5149cf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VisualCard/Parsers/Arguments/ArgumentInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace VisualCard.Parsers.Arguments
/// <summary>
/// Argument info for properties
/// </summary>
[DebuggerDisplay("{Key} = [{string.Split(\", \", AllValues)}]")]
[DebuggerDisplay("{Key} = [{string.Join(\", \", AllValues)}]")]
public class ArgumentInfo : IEquatable<ArgumentInfo>
{
private readonly string key = "";
Expand Down
3 changes: 2 additions & 1 deletion VisualCard/Parsers/Arguments/PropertyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Textify.General;

Expand All @@ -27,6 +27,7 @@ namespace VisualCard.Parsers.Arguments
/// <summary>
/// Property info class
/// </summary>
[DebuggerDisplay("Property: {Arguments.Length} args, {Prefix} [G: {Group}] = {Value}")]
public class PropertyInfo
{
private string rawValue = "";
Expand Down

0 comments on commit 5149cf8

Please sign in to comment.