Skip to content

Commit 1e4b895

Browse files
committed
Add DebuggerDisplayAttribute to IptcValue
1 parent 5b5e599 commit 1e4b895

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ImageSharp/Metadata/Profiles/IPTC/IptcValue.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Six Labors Split License.
33

4+
using System.Diagnostics;
45
using System.Text;
56

67
namespace SixLabors.ImageSharp.Metadata.Profiles.Iptc;
78

89
/// <summary>
910
/// Represents a single value of the IPTC profile.
1011
/// </summary>
12+
[DebuggerDisplay("{Tag} = {ToString(),nq} ({GetType().Name,nq})")]
1113
public sealed class IptcValue : IDeepCloneable<IptcValue>
1214
{
1315
private byte[] data = Array.Empty<byte>();

0 commit comments

Comments
 (0)