public Game(string id, string title, string titleUrl, Uri iconUri, string platform, string type) { Id = id; Title = title; TitleUrl = titleUrl; IconUri = iconUri; Platform = GamePlatformHelper.DetectPlatformFromImageName(platform); Type = type; }
public CommunityItem(string id, string section, string communityBadge, string title, string titleUrl, Uri iconUri, string platform, string type) { Id = id; Section = section; CommunityBadge = communityBadge; Title = title; TitleUrl = titleUrl; IconUri = iconUri; Platform = GamePlatformHelper.DetectPlatformFromImageName(platform); Type = type; }