Skip to content

Commit

Permalink
ref - Removed unused attributes
Browse files Browse the repository at this point in the history
---

Type: ref
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Aug 19, 2024
1 parent 8471632 commit be1d017
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ChemiStar/Data/SubstanceImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ChemiStar.Data
/// <summary>
/// Substance image
/// </summary>
[JsonSerializable(typeof(SubstanceImage))]
[DebuggerDisplay("{Title} - {Url}")]
public class SubstanceImage
{
Expand All @@ -39,18 +38,21 @@ public class SubstanceImage
/// <summary>
/// Image title
/// </summary>
[JsonIgnore]
public string Title =>
title;

/// <summary>
/// Image URL
/// </summary>
[JsonIgnore]
public string Url =>
url;

/// <summary>
/// Image attribution
/// </summary>
[JsonIgnore]
public string Attribution =>
attribution;

Expand Down
1 change: 0 additions & 1 deletion ChemiStar/Data/SubstanceInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace ChemiStar.Data
/// <summary>
/// Substance information
/// </summary>
[JsonSerializable(typeof(SubstanceInfo))]
[DebuggerDisplay("[{AtomicNumber}] [Period {Period}, Group {Group}] {Name}")]
public class SubstanceInfo
{
Expand Down

0 comments on commit be1d017

Please sign in to comment.