Skip to content

Commit

Permalink
add - doc - Added preferred check
Browse files Browse the repository at this point in the history
---

We've added a new property that checks for preferred.

---

Type: add
Breaking: False
Doc Required: True
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jul 2, 2024
1 parent bfd08a5 commit 5ff44a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions VisualCard/Parts/BaseCardPartInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ public abstract class BaseCardPartInfo : IEquatable<BaseCardPartInfo>
/// </summary>
public virtual string ValueType { get; internal set; }

/// <summary>
/// Is this part preferred?
/// </summary>
public bool IsPreferred =>
HasType("PREF");

/// <summary>
/// Arguments in key/value pair format
/// </summary>
Expand Down

0 comments on commit 5ff44a7

Please sign in to comment.