Skip to content

Commit 8c88a95

Browse files
committed
Remove obsolete members on Tag class
These have been obsolete for a long time. Remove them as part of the API changes in 2.9.0.
1 parent a972878 commit 8c88a95

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

MetadataExtractor/Tag.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ public Tag(int type, Directory directory)
2222
/// <value>the tag type as an int</value>
2323
public int Type { get; }
2424

25-
[Obsolete("Use Type instead.")]
26-
public int TagType => Type;
27-
2825
/// <summary>
2926
/// Get a description of the tag's value, considering enumerated values
3027
/// and units.
@@ -39,17 +36,11 @@ public Tag(int type, Directory directory)
3936
/// </remarks>
4037
public bool HasName => _directory.HasTagName(Type);
4138

42-
[Obsolete("Use HasName instead.")]
43-
public bool HasTagName => HasName;
44-
4539
/// <summary>
4640
/// Get the name of the tag, such as <c>Aperture</c>, or <c>InteropVersion</c>.
4741
/// </summary>
4842
public string Name => _directory.GetTagName(Type);
4943

50-
[Obsolete("Use Name instead")]
51-
public string TagName => Name;
52-
5344
/// <summary>
5445
/// Get the name of the <see cref="Directory"/> in which the tag exists, such as <c>Exif</c>, <c>GPS</c> or <c>Interoperability</c>.
5546
/// </summary>

0 commit comments

Comments
 (0)