Skip to content

Commit

Permalink
Merge pull request #400 from drewnoakes/remove-obsolete-members
Browse files Browse the repository at this point in the history
Remove obsolete members on Tag class
  • Loading branch information
drewnoakes authored Feb 5, 2024
2 parents 19978e0 + 264dc69 commit 155f738
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions MetadataExtractor/PublicAPI/net462/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4002,11 +4002,8 @@ MetadataExtractor.Tag
MetadataExtractor.Tag.Description.get -> string?
MetadataExtractor.Tag.DirectoryName.get -> string!
MetadataExtractor.Tag.HasName.get -> bool
MetadataExtractor.Tag.HasTagName.get -> bool
MetadataExtractor.Tag.Name.get -> string!
MetadataExtractor.Tag.Tag(int type, MetadataExtractor.Directory! directory) -> void
MetadataExtractor.Tag.TagName.get -> string!
MetadataExtractor.Tag.TagType.get -> int
MetadataExtractor.Tag.Type.get -> int
MetadataExtractor.TagDescriptor<T>
MetadataExtractor.TagDescriptor<T>.Directory.get -> T!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3995,11 +3995,8 @@ MetadataExtractor.Tag
MetadataExtractor.Tag.Description.get -> string?
MetadataExtractor.Tag.DirectoryName.get -> string!
MetadataExtractor.Tag.HasName.get -> bool
MetadataExtractor.Tag.HasTagName.get -> bool
MetadataExtractor.Tag.Name.get -> string!
MetadataExtractor.Tag.Tag(int type, MetadataExtractor.Directory! directory) -> void
MetadataExtractor.Tag.TagName.get -> string!
MetadataExtractor.Tag.TagType.get -> int
MetadataExtractor.Tag.Type.get -> int
MetadataExtractor.TagDescriptor<T>
MetadataExtractor.TagDescriptor<T>.Directory.get -> T!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3997,11 +3997,8 @@ MetadataExtractor.Tag
MetadataExtractor.Tag.Description.get -> string?
MetadataExtractor.Tag.DirectoryName.get -> string!
MetadataExtractor.Tag.HasName.get -> bool
MetadataExtractor.Tag.HasTagName.get -> bool
MetadataExtractor.Tag.Name.get -> string!
MetadataExtractor.Tag.Tag(int type, MetadataExtractor.Directory! directory) -> void
MetadataExtractor.Tag.TagName.get -> string!
MetadataExtractor.Tag.TagType.get -> int
MetadataExtractor.Tag.Type.get -> int
MetadataExtractor.TagDescriptor<T>
MetadataExtractor.TagDescriptor<T>.Directory.get -> T!
Expand Down
9 changes: 0 additions & 9 deletions MetadataExtractor/Tag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ public Tag(int type, Directory directory)
/// <value>the tag type as an int</value>
public int Type { get; }

[Obsolete("Use Type instead.")]
public int TagType => Type;

/// <summary>
/// Get a description of the tag's value, considering enumerated values
/// and units.
Expand All @@ -39,17 +36,11 @@ public Tag(int type, Directory directory)
/// </remarks>
public bool HasName => _directory.HasTagName(Type);

[Obsolete("Use HasName instead.")]
public bool HasTagName => HasName;

/// <summary>
/// Get the name of the tag, such as <c>Aperture</c>, or <c>InteropVersion</c>.
/// </summary>
public string Name => _directory.GetTagName(Type);

[Obsolete("Use Name instead")]
public string TagName => Name;

/// <summary>
/// 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>.
/// </summary>
Expand Down

0 comments on commit 155f738

Please sign in to comment.