Skip to content

Commit 155f738

Browse files
authored
Merge pull request #400 from drewnoakes/remove-obsolete-members
Remove obsolete members on Tag class
2 parents 19978e0 + 264dc69 commit 155f738

File tree

4 files changed

+0
-18
lines changed

4 files changed

+0
-18
lines changed

MetadataExtractor/PublicAPI/net462/PublicAPI.Shipped.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4002,11 +4002,8 @@ MetadataExtractor.Tag
40024002
MetadataExtractor.Tag.Description.get -> string?
40034003
MetadataExtractor.Tag.DirectoryName.get -> string!
40044004
MetadataExtractor.Tag.HasName.get -> bool
4005-
MetadataExtractor.Tag.HasTagName.get -> bool
40064005
MetadataExtractor.Tag.Name.get -> string!
40074006
MetadataExtractor.Tag.Tag(int type, MetadataExtractor.Directory! directory) -> void
4008-
MetadataExtractor.Tag.TagName.get -> string!
4009-
MetadataExtractor.Tag.TagType.get -> int
40104007
MetadataExtractor.Tag.Type.get -> int
40114008
MetadataExtractor.TagDescriptor<T>
40124009
MetadataExtractor.TagDescriptor<T>.Directory.get -> T!

MetadataExtractor/PublicAPI/netstandard1.3/PublicAPI.Shipped.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3995,11 +3995,8 @@ MetadataExtractor.Tag
39953995
MetadataExtractor.Tag.Description.get -> string?
39963996
MetadataExtractor.Tag.DirectoryName.get -> string!
39973997
MetadataExtractor.Tag.HasName.get -> bool
3998-
MetadataExtractor.Tag.HasTagName.get -> bool
39993998
MetadataExtractor.Tag.Name.get -> string!
40003999
MetadataExtractor.Tag.Tag(int type, MetadataExtractor.Directory! directory) -> void
4001-
MetadataExtractor.Tag.TagName.get -> string!
4002-
MetadataExtractor.Tag.TagType.get -> int
40034000
MetadataExtractor.Tag.Type.get -> int
40044001
MetadataExtractor.TagDescriptor<T>
40054002
MetadataExtractor.TagDescriptor<T>.Directory.get -> T!

MetadataExtractor/PublicAPI/netstandard2.1/PublicAPI.Shipped.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3997,11 +3997,8 @@ MetadataExtractor.Tag
39973997
MetadataExtractor.Tag.Description.get -> string?
39983998
MetadataExtractor.Tag.DirectoryName.get -> string!
39993999
MetadataExtractor.Tag.HasName.get -> bool
4000-
MetadataExtractor.Tag.HasTagName.get -> bool
40014000
MetadataExtractor.Tag.Name.get -> string!
40024001
MetadataExtractor.Tag.Tag(int type, MetadataExtractor.Directory! directory) -> void
4003-
MetadataExtractor.Tag.TagName.get -> string!
4004-
MetadataExtractor.Tag.TagType.get -> int
40054002
MetadataExtractor.Tag.Type.get -> int
40064003
MetadataExtractor.TagDescriptor<T>
40074004
MetadataExtractor.TagDescriptor<T>.Directory.get -> T!

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)