Skip to content

Commit

Permalink
Include DblResource type
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfheij-sil committed Nov 22, 2024
1 parent 2cf172a commit 702e1aa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ private class DblResourceData(
string DisplayName,
string FullName,
string BestLanguageName,
ResourceType Type,
long Size,
bool Installed,
bool UpdateAvailable,
Expand All @@ -29,6 +30,7 @@ string ProjectId
public string DisplayName { get; set; } = DisplayName;
public string FullName { get; set; } = FullName;
public string BestLanguageName { get; set; } = BestLanguageName;
public string Type { get; set; } = Type.ToString();
public long Size { get; set; } = Size;
public bool Installed { get; set; } = Installed;
public bool UpdateAvailable { get; set; } = UpdateAvailable;
Expand Down Expand Up @@ -113,6 +115,7 @@ private List<DblResourceData> GetDblResources(JsonElement _ignore)
resource.DisplayName,
resource.FullName,
resource.BestLanguageName,
resource.Type,
resource.Size,
resource.Installed,
resource.IsNewerThanCurrentlyInstalled(),
Expand Down

0 comments on commit 702e1aa

Please sign in to comment.