Browse Source

Add DebuggerDisplayAttribute to ExifValue

pull/2787/head
Lasse Vågsæther Karlsen 2 years ago
parent
commit
5b5e599fb9
Failed to extract signature
  1. 2
      src/ImageSharp/Metadata/Profiles/Exif/Values/ExifValue.cs

2
src/ImageSharp/Metadata/Profiles/Exif/Values/ExifValue.cs

@ -1,10 +1,12 @@
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace SixLabors.ImageSharp.Metadata.Profiles.Exif;
[DebuggerDisplay("{Tag} = {IsArray?\"[..]\":ToString(),nq} ({GetType().Name,nq})")]
internal abstract class ExifValue : IExifValue, IEquatable<ExifTag>
{
protected ExifValue(ExifTag tag) => this.Tag = tag;

Loading…
Cancel
Save