Skip to content

Commit 160b9ef

Browse files
authored
Improve debugging experience for ResilienceProperties (#1524)
1 parent dd511b2 commit 160b9ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Polly.Core/ResilienceProperties.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
namespace Polly;
44

5-
#pragma warning disable CA1710 // Identifiers should have correct suffix
6-
75
/// <summary>
86
/// Represents a collection of custom resilience properties.
97
/// </summary>
8+
[DebuggerDisplay("{Options}")]
109
public sealed class ResilienceProperties
1110
{
11+
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
1212
internal IDictionary<string, object?> Options { get; set; } = new Dictionary<string, object?>();
1313

1414
/// <summary>

0 commit comments

Comments
 (0)