Skip to content

Commit

Permalink
imp - Show value in ValueInfo debugger
Browse files Browse the repository at this point in the history
---

To improve debugging experience, we've make ValueInfo show the actual value and the list of types.

---

Type: imp
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Oct 2, 2024
1 parent b74b671 commit 0d9b8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VisualCard.Calendar/Parts/CalendarValueInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace VisualCard.Calendar.Parts
/// <summary>
/// Calendar value information
/// </summary>
[DebuggerDisplay("Calendar value | TYPE: {ElementTypes}, VALUE: {ValueType}")]
[DebuggerDisplay("Calendar value [{Value}] | TYPE: [{string.Join(\", \", ElementTypes)}], VALUE: {ValueType}")]
public class CalendarValueInfo<TValue> : IEquatable<CalendarValueInfo<TValue>>
{
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion VisualCard/Parts/CardValueInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace VisualCard.Parts
/// <summary>
/// Card value information
/// </summary>
[DebuggerDisplay("Card value | ALTID: {AltId}, TYPE: {ElementTypes}, VALUE: {ValueType}")]
[DebuggerDisplay("Card value [{Value}] | ALTID: {AltId}, TYPE: [{string.Join(\", \", ElementTypes)}], VALUE: {ValueType}")]
public class CardValueInfo<TValue> : IEquatable<CardValueInfo<TValue>>
{
/// <summary>
Expand Down

0 comments on commit 0d9b8fb

Please sign in to comment.