Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete members on Tag class #400

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading