Browse Source

Add DebuggerDisplayAttribute to IptcValue

pull/2787/head
Lasse Vågsæther Karlsen 2 years ago
parent
commit
1e4b895e3d
Failed to extract signature
  1. 2
      src/ImageSharp/Metadata/Profiles/IPTC/IptcValue.cs

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

@ -1,6 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Diagnostics;
using System.Text;
namespace SixLabors.ImageSharp.Metadata.Profiles.Iptc;
@ -8,6 +9,7 @@ namespace SixLabors.ImageSharp.Metadata.Profiles.Iptc;
/// <summary>
/// Represents a single value of the IPTC profile.
/// </summary>
[DebuggerDisplay("{Tag} = {ToString(),nq} ({GetType().Name,nq})")]
public sealed class IptcValue : IDeepCloneable<IptcValue>
{
private byte[] data = Array.Empty<byte>();

Loading…
Cancel
Save