Reimplemented using MVVMCross (SearchResultWindow & DownloadWindow WIP)
This commit is contained in:
parent
c7308cfc29
commit
aada82693d
33 changed files with 1609 additions and 1758 deletions
|
@ -1,36 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace auto_creamapi.POCOs
|
||||
{
|
||||
public class SteamApp
|
||||
{
|
||||
[JsonPropertyName("appid")]
|
||||
public int AppId { get; set; }
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"AppId: {AppId}, Name: {Name}";
|
||||
}
|
||||
|
||||
public bool CompareId(SteamApp steamApp)
|
||||
{
|
||||
return AppId.Equals(steamApp.AppId);
|
||||
}
|
||||
}
|
||||
|
||||
public class AppList
|
||||
{
|
||||
[JsonPropertyName("apps")]
|
||||
public List<SteamApp> Apps { get; set; }
|
||||
}
|
||||
|
||||
public class SteamApps
|
||||
{
|
||||
[JsonPropertyName("applist")]
|
||||
public AppList AppList { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue