Browse Source
Add DebuggerDisplayAttribute to ExifValue
pull/2787/head
Lasse Vågsæther Karlsen
2 years ago
Failed to extract signature
1 changed files with
2 additions and
0 deletions
-
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; |
|
|
|
|